help understand compile error message

Hello,


I keep getting those compile errors that i can't figure out...


/Users/uoc/Library/Developer/Xcode/DerivedData/BLE5-exammfmudvzwrfdrqqybagqrgsnj/Build/Products/Debug-iphoneos/BLE5.app/Frameworks/Charts.framework: errSecInternalComponent

Command PhaseScriptExecution failed with a nonzero exit code



Can anyone please explain where the problem is ?

It is a project that uses an external library "Charts" that came as a pod.


Thanks

Answered by Claude31 in 390564022

Could you reboot the Mac first.


If not enough, have a look here (if you've not seen yet):

h ttps://github.com/aws-amplify/aws-sdk-ios/issues/1045#start-of-content

Accepted Answer

Could you reboot the Mac first.


If not enough, have a look here (if you've not seen yet):

h ttps://github.com/aws-amplify/aws-sdk-ios/issues/1045#start-of-content

I tried the solution given here : https://stackoverflow.com/questions/24023639/xcode-command-usr-bin-codesign-failed-with-exit-code-1-errsecinternalcomponen

I locked all keychains in Keychain Access and now this is the compile error I get:


/Users/uoc/Library/Developer/Xcode/DerivedData/BLE5-exammfmudvzwrfdrqqybagqrgsnj/Build/Products/Debug-iphoneos/BLE5.app/Frameworks/CoreBluetooth.framework: bundle format unrecognized, invalid, or unsuitable

Command CodeSign failed with a nonzero exit code


This time it seems that is the CoreBluetooth framework that is causing trouble... I can't think of a logical link between the two error messages. I am completely lost, I don't even know where to start looking...

Thanks Claude, so I restarted the macbook and tried pretty much all combination of lock/unlock Keychains, automatically/manually manage signing and no luck so far


Reading at the aswers on stackoverflow it seems that many people came up with very different solutions...

I just tried this, unsuccessfully

$ sudo gem install cocoapods-deintegrate cocoapods-clean

$ pod deintegrate

$ pod clean


(by the way I hope this cocoapods-deintegrate is safe ...)


I am not sure how to do this: chmod +x to the 'Pods--frameworks.sh'

Maybe it's a problem in the pod itself.


Could you contact their developer ?

Well after a lot of fiddling it eventually worked. I have absolutely no idea what I did but it's working now. Not terribly useful to others i am afraid. My best guess is : deintegrate followed by a sytem reboot and trash clean (because I created and delted several project with this pod).

help understand compile error message
 
 
Q