如何构建 AWSiOSSDKv2?
How to build AWSiOSSDKv2?
如果这是一个新手问题,请原谅我。我正在尝试构建 AWS iOS SDK,但构建失败。我正在使用 XCode 10.1 Beta。
我已经克隆了 AWS iOS SDK and have opened the xcode project file。打开项目后,我尝试清理、测试和构建项目。
- 清理工作
- 测试失败
- 构建失败。
构建错误
多个命令产生'/Users/user/Library/Developer/Xcode/DerivedData/AWSiOSSDKv2-gfzlqdkwlorytgcialiewupaumtw/Build/Products/Debug-iphonesimulator/AWSCognitoAuthUnitTests.xctest/Info.plist':
目标'AWSCognitoAuthUnitTests'(项目'AWSiOSSDKv2')有从'/Users/user/Documents/NewTouch/aws-sdk-ios/AWSCognitoAuthUnitTests/Info.plist'到'/Users/user/Library/Developer/Xcode/DerivedData/AWSiOSSDKv2-gfzlqdkwlorytgcialiewupaumtw/Build/Products/Debug-iphonesimulator/AWSCognitoAuthUnitTests.xctest/Info的复制命令.plist'
目标 'AWSCognitoAuthUnitTests'(项目 'AWSiOSSDKv2')具有输出 '/Users/user/Library/Developer/Xcode/DerivedData/AWSiOSSDKv2-gfzlqdkwlorytgcialiewupaumtw/Build/Products/Debug-iphonesimulator/AWSCognitoAuthUnitTests.xctest/Info.plist'
[ 的处理命令=38=]
多个命令产生'/Users/user/Library/Developer/Xcode/DerivedData/AWSiOSSDKv2-gfzlqdkwlorytgcialiewupaumtw/Build/Products/Debug-iphonesimulator/AWSAllTestsHost.app/PlugIns/AWSCognitoAuthTests.xctest/Info.plist':
- 目标'AWSCognitoAuthTests'(项目'AWSiOSSDKv2')有从'/Users/user/Documents/NewTouch/aws-sdk-ios/AWSCognitoAuthTests/Info.plist'到'/Users/user/Library/Developer/Xcode/DerivedData/AWSiOSSDKv2-gfzlqdkwlorytgcialiewupaumtw/Build/Products/Debug-iphonesimulator/AWSAllTestsHost.app/PlugIns/AWSCognitoAuthTests.[=57=的复制命令].plist'
- 目标 'AWSCognitoAuthTests'(项目 'AWSiOSSDKv2')具有输出 '/Users/user/Library/Developer/Xcode/DerivedData/AWSiOSSDKv2-gfzlqdkwlorytgcialiewupaumtw/Build/Products/Debug-iphonesimulator/AWSAllTestsHost.app/PlugIns/AWSCognitoAuthTests.xctest/Info.plist'
的处理命令
一个常见原因:
从构建阶段 > 复制捆绑资源中删除那些 Info.plist 文件。
将它们添加到项目中的人不小心选中了目标复选框。
如果这是一个新手问题,请原谅我。我正在尝试构建 AWS iOS SDK,但构建失败。我正在使用 XCode 10.1 Beta。
我已经克隆了 AWS iOS SDK and have opened the xcode project file。打开项目后,我尝试清理、测试和构建项目。
- 清理工作
- 测试失败
- 构建失败。
构建错误
多个命令产生'/Users/user/Library/Developer/Xcode/DerivedData/AWSiOSSDKv2-gfzlqdkwlorytgcialiewupaumtw/Build/Products/Debug-iphonesimulator/AWSCognitoAuthUnitTests.xctest/Info.plist':
目标'AWSCognitoAuthUnitTests'(项目'AWSiOSSDKv2')有从'/Users/user/Documents/NewTouch/aws-sdk-ios/AWSCognitoAuthUnitTests/Info.plist'到'/Users/user/Library/Developer/Xcode/DerivedData/AWSiOSSDKv2-gfzlqdkwlorytgcialiewupaumtw/Build/Products/Debug-iphonesimulator/AWSCognitoAuthUnitTests.xctest/Info的复制命令.plist'
目标 'AWSCognitoAuthUnitTests'(项目 'AWSiOSSDKv2')具有输出 '/Users/user/Library/Developer/Xcode/DerivedData/AWSiOSSDKv2-gfzlqdkwlorytgcialiewupaumtw/Build/Products/Debug-iphonesimulator/AWSCognitoAuthUnitTests.xctest/Info.plist'
[ 的处理命令=38=]
多个命令产生'/Users/user/Library/Developer/Xcode/DerivedData/AWSiOSSDKv2-gfzlqdkwlorytgcialiewupaumtw/Build/Products/Debug-iphonesimulator/AWSAllTestsHost.app/PlugIns/AWSCognitoAuthTests.xctest/Info.plist':
- 目标'AWSCognitoAuthTests'(项目'AWSiOSSDKv2')有从'/Users/user/Documents/NewTouch/aws-sdk-ios/AWSCognitoAuthTests/Info.plist'到'/Users/user/Library/Developer/Xcode/DerivedData/AWSiOSSDKv2-gfzlqdkwlorytgcialiewupaumtw/Build/Products/Debug-iphonesimulator/AWSAllTestsHost.app/PlugIns/AWSCognitoAuthTests.[=57=的复制命令].plist'
- 目标 'AWSCognitoAuthTests'(项目 'AWSiOSSDKv2')具有输出 '/Users/user/Library/Developer/Xcode/DerivedData/AWSiOSSDKv2-gfzlqdkwlorytgcialiewupaumtw/Build/Products/Debug-iphonesimulator/AWSAllTestsHost.app/PlugIns/AWSCognitoAuthTests.xctest/Info.plist' 的处理命令
一个常见原因:
从构建阶段 > 复制捆绑资源中删除那些 Info.plist 文件。 将它们添加到项目中的人不小心选中了目标复选框。