ios8 和 ios9 的 Podfile
Podfile for both ios8 and ios9
我必须在 Podfile 上写什么才能在 ios8、ios9 设备 上启动我的应用程序 ?
在 Podfile 中,如果我写
platform :ios, '9.0'
当我在 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
注意:我正在使用 XCode7.1 Beta,Objective-C,CocoaPod 0.38.0
Podfile 中的平台行应设置为支持的最低版本。换句话说,使用这个:
platform :ios, '8.4'
我必须在 Podfile 上写什么才能在 ios8、ios9 设备 上启动我的应用程序 ?
在 Podfile 中,如果我写
platform :ios, '9.0'
当我在 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
注意:我正在使用 XCode7.1 Beta,Objective-C,CocoaPod 0.38.0
Podfile 中的平台行应设置为支持的最低版本。换句话说,使用这个:
platform :ios, '8.4'