[英]Podfile for both ios8 and ios9
What do I have to write on Podfile to launch my application on both ios8, ios9 devices ? 我需要在Podfile上编写什么才能在ios8,ios9设备上启动我的应用程序?
In the Podfile, if I write 在Podfile中,如果我写的话
platform :ios, '9.0'
It will crash when I launch the application on ios8 device: 当我在ios8设备上启动应用程序时它会崩溃:
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 注意:我使用的是XCode7.1 Beta,Objective-C,CocoaPod 0.38.0
The platform line in your Podfile should be set to the lowest supported version. Podfile中的平台行应设置为支持的最低版本。 In otherwords use this:
换句话说使用这个:
platform :ios, '8.4'
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.