为什么我在编译时遇到在 Cordova 中找不到框架的错误?

Why do I get the error of not finding the framework in Cordova when I compile?

提问人:konguele 提问时间:10/10/2023 最后编辑:konguele 更新时间:10/10/2023 访问量:51

问:

早上好

我用 Gdevelop 创建了一个游戏,当我使用 Cordova 将其导出以在 iOS 中构建它时,我遇到了以下问题:

命令:

Cordova 平台添加 iOS

Cordova 构建 iOS

juanjosegarciamanzano@macbook-pro-de-juan Jabato % cordova platform add ios 
Using cordova-fetch for cordova-ios
Adding ios project...
Creating Cordova project for the iOS platform:
    Path: platforms/ios
    Package: com.stilugames.jabaliespacial
    Name: Jabali Espacial

[!] The `Jabali Espacial [Debug]` target overrides the `LD_RUNPATH_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-Jabali Espacial/Pods-Jabali Espacial.debug.xcconfig'. This can lead to problems with the CocoaPods installation

[!] The `Jabali Espacial [Release]` target overrides the `LD_RUNPATH_SEARCH_PATHS` build setting defined in `Pods/Target Support Files/Pods-Jabali Espacial/Pods-Jabali Espacial.release.xcconfig'. This can lead to problems with the CocoaPods installation
Adding admob-plus-cordova to package.json
Discovered plugin "cordova-plugin-consent". Adding it to the project
Installing "cordova-plugin-consent" for ios

[!] CocoaPods could not find compatible versions for pod "GoogleUserMessagingPlatform":
  In snapshot (Podfile.lock):
    GoogleUserMessagingPlatform (= 2.1.0, >= 1.1)

  In Podfile:
    GoogleUserMessagingPlatform (~> 2.0.0)

Specs satisfying the `GoogleUserMessagingPlatform (~> 2.0.0), GoogleUserMessagingPlatform (= 2.1.0, >= 1.1)` dependency were found, but they required a higher minimum deployment target.

我尝试了互联网上出现最多的解决方案,但它也不起作用,即 pod install --repo-update

谢谢你的帮助

我想要的是能够正确编译它,以便在我运行 Xcode 时可以将其上传到 App Store。当我无论如何都这样做时出现此错误,当我进行存档时,我收到以下错误:

模块故障

iOS Swift Xcode 科尔多瓦

评论


答: 暂无答案