编译没有问题,运行时报错: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)),运行时不再报错。