修改pod配置 解决模拟器无法运行问题
Showing
| ... | @@ -13,5 +13,13 @@ target 'PhoneManager' do | ... | @@ -13,5 +13,13 @@ target 'PhoneManager' do |
| pod 'OpenCV' | pod 'OpenCV' | ||
| pod 'SVProgressHUD' | pod 'SVProgressHUD' | ||
| post_install do |installer| | |||
| installer.pods_project.targets.each do |target| | |||
| target.build_configurations.each do |config| | |||
| config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64' # Exclude arm64 for simulator | |||
| end | |||
| end | |||
| end | |||
| end | end | ||
Please
register
or
sign in
to comment