我在Linux服务器上运行Jenkins。因为xcodebuild命令无法在其上运行,所以我为其设置了一个mac从属。我正在使用cocoapods,因此在构建部分添加了执行shell步骤:
但是在Jenkins上开始构建任务时。我不断收到像波纹管这样的代码符号错误
CodeSign /Users/minghaoxue/Library/Developer/Xcode/DerivedData/ClubFactory-cjjgomahwcoblcaqbnubetcloubb/Build/Products/Release-iphoneos/ClubFactory.app/Frameworks/AWSCognito.framework (in target: ClubFactory)
cd /Users/Shared/Jenkins/workspace/club_factory_ad_hoc
export CODESIGN_ALLOCATE=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
Signing Identity: "iPhone Developer: Minghao xue (MU2PM44A6U)"
/usr/bin/codesign --force --sign 5B937C4F106A71C5958593769FADD3D8E195F888 --preserve-metadata=identifier,entitlements,flags --timestamp=none /Users/minghaoxue/Library/Developer/Xcode/DerivedData/ClubFactory-cjjgomahwcoblcaqbnubetcloubb/Build/Products/Release-iphoneos/ClubFactory.app/Frameworks/AWSCognito.framework/Users/minghaoxue/Library/Developer/Xcode/DerivedData/ClubFactory-cjjgomahwcoblcaqbnubetcloubb/Build/Products/Release-iphoneos/ClubFactory.app/Frameworks/AWSCognito.framework: errSecInternalComponent
我认为我已经正确配置了与代码签名相关的内容。有人可以帮忙吗?