1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

RubyMotion CMTimeMake 64bit でこける

Last updated at Posted at 2015-04-14

RubyMotion のバージョンは 3.8。

$ motion --version
3.8

Xcode のバージョンは 6.3。

空白_Skitch_キャンバス.png

videoComposition = AVMutableVideoComposition.videoComposition
videoComposition.renderSize = CGSizeMake(640, 480)
videoComposition.frameDuration = CMTimeMake(1, 20)

64bit 対応ってことで、Rakefileapp.archs['iPhoneOS'] を特に指定しないでコンパイルすると、上みたいな書き方でこける。どうも CMTimeMake でこけてるっぽい。どうすればいいんでしょうか。

* thread #1: tid = 0x253249, 0x0000000184a1918c AVFoundation`-[AVMutableVideoComposition setFrameDuration:] + 72, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x24)
    frame #0: 0x0000000184a1918c AVFoundation`-[AVMutableVideoComposition setFrameDuration:] + 72
AVFoundation`-[AVMutableVideoComposition setFrameDuration:]:
->  0x184a1918c <+72>: ldr    x8, [x20, #16]
    0x184a19190 <+76>: str    x8, [sp, #64]
    0x184a19194 <+80>: ldr    q0, [x20]
    0x184a19198 <+84>: str    q0, [sp, #48]

こんな感じで、EXC_BAD_ACCESS で落ちる。

RakeFile に、app.archs['iPhoneOS'] = %w(armv7 armv7s) って書くと問題なく動く。

基本的なことかもしれないんですが、困っています。どなたかー、ヘルプー。

1
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?