如何禁用代码签名要求

问题描述 投票:0回答:2

从 Appstore 收到无效二进制文件的电子邮件后,解决了现在尝试再次存档的问题,Xcode 给出错误,指出 SDK iOS 5.1 中的产品类型“应用程序”需要代码签名。

那么我如何禁用此代码签名。

感谢您的帮助。

iphone code-signing archiving
2个回答
0
投票

通过将

xcodebuild
构建设置设置为空字符串,在使用
CODE_SIGN_IDENTITY
时禁用代码签名:

例如:

xcodebuild build \
  -project 'bikestreets-ios.xcodeproj' \
  -scheme 'BikeStreets' \
  -destination 'platform=iOS Simulator,name=iPhone 15' \
  CODE_SIGN_IDENTITY=""

-1
投票

在文件/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/SDKSettings.plist中

改变 需要代码签名 是的

需要代码签名 不

重新启动 Xcode

© www.soinside.com 2019 - 2024. All rights reserved.