LoginSignup
1
2

More than 5 years have passed since last update.

CoreFoundation.frameworkでSymbol not foundになったときのメモ

Posted at

Xcode 8 (iOS 10.0 SDK) + iOS 8.4.1のデバイスで実行したとき、起動時に以下のログがコンソールに出力されてクラッシュしました。
(iOS 9以降は大丈夫)

dyld: Symbol not found: ___NSArray0__
  Referenced from: /private/var/mobile/Containers/Bundle/Application/********-****-****-****-************/********.app/********
  Expected in: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
 in /private/var/mobile/Containers/Bundle/Application/********-****-****-****-************/********.app/********

このとき、TargetのBuild PhasesでCoreFoundation.frameworkをOptionalでリンクすると解消されます。

Screen Shot 2016-10-04 at 12.05.58 PM.png

1
2
0

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
2