【问题标题】:ionic build ios --release build fails results in Error code 65ionic build ios --release build 失败导致错误代码 65
【发布时间】:2017-03-01 04:35:48
【问题描述】:

ionic build ios 工作正常,但我去做ionic build ios --release 并且第一次它没有失败,但它也没有构建成功。

我第二次尝试时遇到此错误?

The following build commands failed:

Ld build/My\ App.build/Release-iphonesimulator/My\ 
App.build/Objects-normal/i386/My\ App normal i386
(1 failure)

Error: Error code 65 for command: xcodebuild with args: -
xcconfig,/Users/me/desktop/app/platforms/ios/cordova/
build-release.xcconfig,-project,My App.xcodeproj,-target,My App,-
configuration,Release,-sdk,iphonesimulator,-destination,platform=iOS 
Simulator,build,CONFIGURATION_BUILD_DIR=/Users/me/desktop/
 app/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/me/
desktop/app/platforms/ios/build/sharedpch

我已经完成了 ionic build ios 并将其上传到 testflight 并且过去通过 xcode 连接 iTunes 没有问题以便进行测试。

这种方式仍然可以让最终的生产版本提交到商店还是必须是发布命令?

我正要在商店中获得该应用程序,因此非常感谢任何帮助!

【问题讨论】:

  • 你试过 xCode 吗?
  • 谢谢,我已经 ionic build ios,然后通过 xcode 将其提交给 itunes connect,过去没有问题。但是 ionic 说要做 ionic build ios --release 为生产准备一个? ionicframework.com/docs/guide/publishing.html
  • 试试ionic build ios --prod --release
  • 如果您不介意,请解释一下:(在为 testflight 构建构建时,我只需要 ionic build ios,然后在 xcode 中进行验证和存档以启动它。)那么为什么用于生产/应用程序提交准备好一个它需要发布或生产--release命令,该命令有什么作用或使它与生产版本不同?谢谢!

标签: ios xcode ionic-framework ionic2 release


【解决方案1】:

在构建 Ionic 2 项目进行生产时,您需要使用 --prod 选项。

ionic build ios --prod --release

查看讨论here

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-06-27
    • 2019-11-25
    • 2016-09-30
    • 1970-01-01
    • 2019-04-26
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多