如何在不打算发布到应用程序商店的情况下构建 ipa?

How to build an ipa without any intention of releasing to the app store?

我想创建一个可以放在网站上供用户下载的应用程序,而不是像 Dream11 那样从 Play 商店或应用程序商店下载。我创建了一个应用程序,它在 iOS 和 Android 的调试模式下都能完美运行,Android 的 flutter 构建也非常出色。 'flutter build ipa' 命令导致错误-

No valid code signing certificates were found
You can connect to your Apple Developer account by signing in with your Apple ID
in Xcode and create an iOS Development Certificate as well as a Provisioning 
Profile for your project by:
  1- Open the Flutter project's Xcode target with
       open ios/Runner.xcworkspace
  2- Select the 'Runner' project in the navigator then the 'Runner' target
     in the project settings
  3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team. 
     You may need to:
         - Log in with your Apple ID in Xcode first
         - Ensure you have a valid unique Bundle ID
         - Register your device with your Apple Developer Account
         - Let Xcode automatically provision a profile for your app
  4- Build or run your project again
  5- Trust your newly created Development Certificate on your iOS device
     via Settings > General > Device Management > [your new certificate] > Trust

For more information, please visit:
  https://developer.apple.com/library/content/documentation/IDEs/Conceptual/
  AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html

Or run on an iOS simulator without code signing

现在我很困惑是否要这样做,因为我不会在应用商店上发布。无论应用程序是否进入应用程序商店,或者是否有为 iOS 创建应用程序构建版本的解决方法?

你真的有四个选择。

  1. 通过 App Store 发布
  2. Apple 有一个相当新的程序,用于通过 App Store 发布私人应用程序
  3. 通过试飞发布
  4. 创建企业开发者帐户

所有这些选项都需要开发者帐户。