編譯沒有問題,運作時報錯:dyld: Library not loaded: @rpath/LetsMove.framework/Versions/A/XXX, ...
Reason: no suitable image found. Did find:
...Contents/MacOS/../Frameworks/LetsMove.framework/Versions/A/XXX: code signature in XXX.app/Contents/MacOS/../Frameworks/LetsMove.framework/Versions/A/XXX) not valid for use in process using Library Validation: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)
這樣看來還是程式簽名的問題,發現 CODE_SIGN_IDENTITY=-,将其改為CODE_SIGN_IDENTITY = 3rd Party Mac Developer Application (code singing identity ,Debug和Release版本都統一是 3rd Party Mac Developer Application:xxxxx (xxxxx)),運作時不再報錯。