我正在尝试构建一个世博反应-本地应用程序,在安卓的建设成功,但在iOS是失败的!它在运行fastline任务中失败了!我做了npx预构建-c;在那之后我做了eas构建平台ios;在预构建之后我唯一改变的是Podfile:
platform :ios, '13'
因为当我试图构建时,它显示了错误,所以它显示了some pods require higher minimum deployment target
EAS的日志:
› Compiling Pods/Pods-DigiCache » Pods-DigiCache-dummy.m
› Packaging Pods/Pods-DigiCache » libPods-DigiCache.a
Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'DigiCache' from project 'DigiCache')
Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'DigiCache' from project 'DigiCache')
› Executing DigiCache » [CP] Check Pods Manifest.lock
› Executing DigiCache » Start Packager on http://localhost:8081
› Copying ios/DigiCache/Supporting/Expo.plist ➜ ./Expo.plist
› Compiling DigiCache » SplashScreen.storyboard
❌ (ios/Pods/Target Support Files/Pods-DigiCache/ExpoModulesProvider.swift:9:8)
7 |
8 | import ExpoModulesCore
> 9 | import ExpoAdapterGoogleSignIn
| ^ compiling for iOS 12.4, but module 'ExpoAdapterGoogleSignIn' has a minimum deployment target of iOS 13.0: /Users/expo/Library/Developer/Xcode/DerivedData/DigiCache-axahioyuepmdwlciofskhedyjxrl/Build/Intermediates.noindex/ArchiveIntermediates/DigiCache/BuildProductsPath/Release-iphoneos/ExpoAdapterGoogleSignIn/ExpoAdapterGoogleSignIn.swiftmodule/arm64-apple-ios.swiftmodule
10 | import EASClient
11 | import ExpoImagePicker
12 | import ExpoKeepAwake
› Compiling DigiCache » noop-file.swift
❌ (ios/Pods/Target Support Files/Pods-DigiCache/ExpoModulesProvider.swift:9:8)
7 |
8 | import ExpoModulesCore
> 9 | import ExpoAdapterGoogleSignIn
| ^ compiling for iOS 12.4, but module 'ExpoAdapterGoogleSignIn' has a minimum deployment target of iOS 13.0: /Users/expo/Library/Developer/Xcode/DerivedData/DigiCache-axahioyuepmdwlciofskhedyjxrl/Build/Intermediates.noindex/ArchiveIntermediates/DigiCache/BuildProductsPath/Release-iphoneos/ExpoAdapterGoogleSignIn/ExpoAdapterGoogleSignIn.swiftmodule/arm64-apple-ios.swiftmodule
10 | import EASClient
11 | import ExpoImagePicker
12 | import ExpoKeepAwake
› Preparing DigiCache » Info.plist
› Compiling DigiCache » ExpoModulesProvider.swift
❌ (ios/Pods/Target Support Files/Pods-DigiCache/ExpoModulesProvider.swift:9:8)
7 |
8 | import ExpoModulesCore
> 9 | import ExpoAdapterGoogleSignIn
| ^ compiling for iOS 12.4, but module 'ExpoAdapterGoogleSignIn' has a minimum deployment target of iOS 13.0: /Users/expo/Library/Developer/Xcode/DerivedData/DigiCache-axahioyuepmdwlciofskhedyjxrl/Build/Intermediates.noindex/ArchiveIntermediates/DigiCache/BuildProductsPath/Release-iphoneos/ExpoAdapterGoogleSignIn/ExpoAdapterGoogleSignIn.swiftmodule/arm64-apple-ios.swiftmodule
10 | import EASClient
11 | import ExpoImagePicker
12 | import ExpoKeepAwake
Run script build phase '[CP-User] Generate app.config for prebuilt Constants.manifest' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXConstants' from project 'Pods')
Run script build phase '[CP-User] Generate app.manifest for expo-updates' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'EXUpdates' from project 'Pods')
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ SwiftEmitModule normal arm64 Emitting\ module\ for\ DigiCache (in target 'DigiCache' from project 'DigiCache')
▸ CompileSwift normal arm64 /Users/expo/workingdir/build/ios/DigiCache/noop-file.swift (in target 'DigiCache' from project 'DigiCache')
▸ SwiftCompile normal arm64 Compiling\ ExpoModulesProvider.swift /Users/expo/workingdir/build/ios/Pods/Target\ Support\ Files/Pods-DigiCache/ExpoModulesProvider.swift (in target 'DigiCache' from project 'DigiCache')
▸ CompileSwift normal arm64 /Users/expo/workingdir/build/ios/Pods/Target\ Support\ Files/Pods-DigiCache/ExpoModulesProvider.swift (in target 'DigiCache' from project 'DigiCache')
▸ (4 failures)
** ARCHIVE FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ DigiCache (in target 'DigiCache' from project 'DigiCache')
CompileSwift normal arm64 /Users/expo/workingdir/build/ios/DigiCache/noop-file.swift (in target 'DigiCache' from project 'DigiCache')
SwiftCompile normal arm64 Compiling\ ExpoModulesProvider.swift /Users/expo/workingdir/build/ios/Pods/Target\ Support\ Files/Pods-DigiCache/ExpoModulesProvider.swift (in target 'DigiCache' from project 'DigiCache')
CompileSwift normal arm64 /Users/expo/workingdir/build/ios/Pods/Target\ Support\ Files/Pods-DigiCache/ExpoModulesProvider.swift (in target 'DigiCache' from project 'DigiCache')
(4 failures)
Exit status: 65
+-------------+-------------------------+
| Build environment |
+-------------+-------------------------+
| xcode_path | /Applications/Xcode.app |
| gym_version | 2.210.0 |
| sdk | iPhoneOS16.0.sdk |
+-------------+-------------------------+
Looks like fastlane ran into a build/archive error with your project
It's hard to tell what's causing the error, so we wrote some guides on how
to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
Before submitting an issue on GitHub, please follow the guide above and make
sure your project is set up correctly.
fastlane uses `xcodebuild` commands to generate your binary, you can see the
the full commands printed out in yellow in the above log.
Make sure to inspect the output above, as usually you'll find more error information there
[stderr] [!] Error building the application - see the log above
Error: Fastlane build failed with unknown error. See logs for the "Run fastlane" and "Xcode Logs" phases for more information.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.
发布于 2022-11-21 20:59:53
https://stackoverflow.com/questions/74524719
复制相似问题