NS DOCTOR Should Be More Helpful in Identifying CocoaPods Issues
My brand new Mac arrived 2 1/2 weeks ago, I still can't create and run a template new app.
WARNING: There was a problem with CocoaPods is the hurdle; yet it gives no useful information.
At the very least, it might suggest printing out env results and asking for help.
If ns doctor could out the specific fail points and errors encountered with the pod tests, might also be helpful.
OK, finally got past Doctor. Seemingly, what Doctor should do is what's described in step 2 of this issue, and output the results.
With the actual issue in hand, the user can then do Step 3 of the above, "Fix the real issue".
[In my case it was "missing compatible arch". With the simple solution
sudo arch -x86_64 gem install ffi
Then
arch -x86_64 pod install
]
I need to do this before the app works.
in Podfile
...
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '9.0'
end
end
end
Then execute pod install inside ios folder.