Reputation: 5955
What do I have to write on Podfile to launch my application on both ios8, ios9 devices?
In the Podfile, if I write
platform :ios, '9.0'
It will crash when I launch the application on ios8 device:
dyld: Symbol not found: ___NSArray0__ Referenced from: /private/var/mobile/Containers/Bundle/Application/CFE-45CC-429B-88E7-52E123/MYAPP.app/MYAPP Expected in: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation in /private/var/mobile/Containers/Bundle/Application/CAFE-45CC-429B-88E7-52212593/MYAPP.app/MYAPP
Note: I am using XCode7.1 Beta, Objective-C, CocoaPod 0.38.0
Upvotes: 4
Views: 3346
Reputation: 11341
The platform line in your Podfile should be set to the lowest supported version. In otherwords use this:
platform :ios, '8.4'
Upvotes: 7