首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >世博eas构建ios在“运行fastline”中失败

世博eas构建ios在“运行fastline”中失败
EN

Stack Overflow用户
提问于 2022-11-21 20:46:47
回答 1查看 47关注 0票数 0

我正在尝试构建一个世博反应-本地应用程序,在安卓的建设成功,但在iOS是失败的!它在运行fastline任务中失败了!我做了npx预构建-c;在那之后我做了eas构建平台ios;在预构建之后我唯一改变的是Podfile:

代码语言:javascript
运行
复制
platform :ios, '13'

因为当我试图构建时,它显示了错误,所以它显示了some pods require higher minimum deployment target

EAS的日志:

代码语言:javascript
运行
复制
› 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.
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-11-21 20:59:53

您还需要在xcode项目中更新这一点。如果使用npx expo prebuild生成ios项目,则可以使用世博-建筑-物业设置此设置。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/74524719

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档