Comments (7)
Thanks for the feedback @ollyde!
I'll use this issue as an additional test case when working on it, then.
If you have to re-visit this before I get around to PR the changes... I finally switched our app over from fastlane last week, this is the config I'm using:
output: dist/
releases:
- name: ios
jobs:
- name: ios-production
package:
platform: ios
target: ipa
build_args:
export-options-plist: ./ios/Runner/Ipa-Export-Prod.plist
flavor: prod # only needed when using flavors
dart-define: # "
ENV: prod # "
publish:
target: appstore
from flutter_distributor.
You need to create the distribute_options.yaml file in the project root directory
from flutter_distributor.
@lijy91 yes I have that. I have an existing version working with MacOS but it throws this error all the time for iOS.
from flutter_distributor.
Can you provide your distribute_options
file?
from flutter_distributor.
output: dist/
releases:
- name: prod
jobs:
- name: release-macos
package:
platform: macos
target: zip
build_args:
dart-define:
APP_ENV: prod
# See full documentation: https://distributor.leanflutter.org/configuration/makers/exe
- name: release-windows
package:
platform: windows
target: msix
build_args:
dart-define:
APP_ENV: prod
- name: release-ios
jobs:
- name: release-ios
package:
platform: ios
target: ipa
build_args:
target: lib/main.dart
export-options-plist: ios/ExportOptions.plist
publish:
target: appstore
Run with command flutter_distributor release --name prod --jobs release-ios
Getting a new error
type 'Null' is not a subtype of type 'Map<String, dynamic>'
ExportOptions.plist looks like so
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>app-store</string>
<key>teamID</key>
<string>J33N27XXX</string>
<key>uploadBitcode</key>
<true/>
<key>compileBitcode</key>
<true/>
<key>uploadSymbols</key>
<true/>
<key>signingStyle</key>
<string>manual</string>
<key>signingCertificate</key>
<string>iOS Distribution</string>
<key>provisioningProfiles</key>
<dict>
<key>com.polydelic.testapp</key>
<string>App Release</string>
</dict>
</dict>
</plist>
from flutter_distributor.
@ollyde is this still an issue for you or did you find a solution?
I've worked on improving docs/checks for this package on a command-line level.
I'd work on the config file based issues next when I find time.
If this is still relevant to you, I could keep an eye on it while I'm at it.
from flutter_distributor.
@cybrox i switched back to fastlane but I’ve got a task to revise this library as I don’t like fastlane and using a lib would be way better.
from flutter_distributor.
Related Issues (20)
- [Exe] Add `shellexec` flag HOT 2
- AppImage Build process is failing HOT 2
- PathNotFoundException: Cannot open file, path = 'windows/packaging/exe/make_config.yaml' HOT 2
- How to use flutter_distributor with fvm package? HOT 6
- build MacOS dmg options fail.
- 构建macos应用,分发出去后运行提示无法打开
- config backgroudColor for dmg HOT 2
- Windows和Linux平台打包arm64参数未开放 HOT 2
- 用dpkg命令安装deb的时候报错
- AppImage file not found on release HOT 2
- CommandNotFoundException HOT 2
- PathNotFoundException HOT 1
- macOS使用appstore publisher时,报provision profile无效的错误 HOT 1
- type 'Null' is not a subtype of type 'Map<String, dynamic>' HOT 1
- 执行 AppPackageMakerApk 时报outputFiles为空 HOT 5
- apk upload fail HOT 6
- build a deb: FileSystemException: Cannot open file, path = 'linux/packaging/deb/make_config.yaml HOT 2
- 打完安卓的包后直接结束了 RELEASE FAILED in 197s HOT 2
- macOS 构建失败 HOT 1
- flutter_distributor: command not found HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_distributor.