Closed HavenWWH closed 4 years ago
有问题再打开哈
直接加到参数里面就行了
fastlane action firim
Your Gemfile lists the gem fastlane-plugin-firim (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
[✔] 🚀
[14:06:06]: Plugin 'Firim' overwrites already loaded action 'firim'
+-----------------------+---------+--------+
| Used plugins |
+-----------------------+---------+--------+
| Plugin | Version | Action |
+-----------------------+---------+--------+
| fastlane-plugin-pgyer | 0.2.2 | pgyer |
| fastlane-plugin-firim | 0.2.2 | firim |
+-----------------------+---------+--------+
Loading documentation for firim:
+----------------------------------------+
| firim |
+----------------------------------------+
| Uses firim to upload ipa/apk to fir.im |
| |
| Created by whlsxl |
+----------------------------------------+
+------------------------+------------------------------------------------------+------------------+--------------------+
| firim Options |
+------------------------+------------------------------------------------------+------------------+--------------------+
| Key | Description | Env Var | Default |
+------------------------+------------------------------------------------------+------------------+--------------------+
| platform | The fir platform, support ios/android | | |
| firim_api_url | fir.im api URL | | https://api.fir.im |
| firim_api_token | fir.im user api token | | |
| firim_username | fir.im username, a sign for identify different token | | |
| ipa | Path to your ipa file | DELIVER_IPA_PATH | |
| apk | Path to your apk file | DELIVER_APK_PATH | |
| gradle_file | Path to your gradle file | | |
| icon | Path to the app icon, MUST BE jpg | | |
| file | Don't use this for upload file | | |
| app_identifier | The app's identifier | | |
| app_name | The app's name | | |
| app_desc | The app's desc | | |
| app_short | The app's short URL | | |
| app_is_opened | APP's download link whether opened | | |
| app_is_show_plaza | Whether the app show in plaza | | |
| app_passwd | The app's download page password | | |
| app_store_link_visible | Whether show store link in download page | | |
| app_version | The app's version | | |
| app_build_version | The app's build version | | |
| app_release_type | The app's release type (Adhoc, Inhouse) | | |
| app_changelog | The app's changelog | | |
| app_info_to_file_path | Append all [app's name] : [URL] to this file | | |
+------------------------+------------------------------------------------------+------------------+--------------------+
* = default value is dependent on the user's system
More information can be found on https://docs.fastlane.tools/actions/firim
可以了, 谢谢大佬
还有个问题,为什么我有的项目中可以添加firim_api_url这个参数,但是另外的项目就不行,版本号我看也一样,是不是哪里有缓存啊?作者大大知道怎么清理fastlane的缓存吗?
kennen@kennendeMacBook-Pro ~/WorkSpace/driver-custom/driver_custom/ios develop fastlane action firim
Your Gemfile lists the gem fastlane-plugin-firim (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
[✔] 🚀
[20:45:48]: Plugin 'Firim' overwrites already loaded action 'firim'
+-----------------------+---------+--------+
| Used plugins |
+-----------------------+---------+--------+
| Plugin | Version | Action |
+-----------------------+---------+--------+
| fastlane-plugin-pgyer | 0.2.2 | pgyer |
| fastlane-plugin-firim | 0.2.2 | firim |
+-----------------------+---------+--------+
Loading documentation for firim:
+----------------------------------------+
| firim |
+----------------------------------------+
| Uses firim to upload ipa/apk to fir.im |
| |
| Created by whlsxl |
+----------------------------------------+
+------------------------+------------------------------------------------------+------------------+---------+
| firim Options |
+------------------------+------------------------------------------------------+------------------+---------+
| Key | Description | Env Var | Default |
+------------------------+------------------------------------------------------+------------------+---------+
| platform | The fir platform, support ios/android | | |
| firim_api_token | fir.im user api token | | |
| firim_username | fir.im username, a sign for identify different token | | |
| ipa | Path to your ipa file | DELIVER_IPA_PATH | |
| apk | Path to your apk file | DELIVER_APK_PATH | |
| gradle_file | Path to your gradle file | | |
| icon | Path to the app icon, MUST BE jpg | | |
| file | Don't use this for upload file | | |
| app_identifier | The app's identifier | | |
| app_name | The app's name | | |
| app_desc | The app's desc | | |
| app_short | The app's short URL | | |
| app_is_opened | APP's download link whether opened | | |
| app_is_show_plaza | Whether the app show in plaza | | |
| app_passwd | The app's download page password | | |
| app_store_link_visible | Whether show store link in download page | | |
| app_version | The app's version | | |
| app_build_version | The app's build version | | |
| app_release_type | The app's release type (Adhoc, Inhouse) | | |
| app_changelog | The app's changelog | | |
| app_info_to_file_path | Append all [app's name] : [URL] to this file | | |
+------------------------+------------------------------------------------------+------------------+---------+
* = default value is dependent on the user's system
More information can be found on https://docs.fastlane.tools/actions/firim
这是另一个项目中就可以正常添加参数
kennen@kennendeMacBook-Pro ~/WorkSpace/RoadRescue develop fastlane action firim
[✔] 🚀
+-----------------------+---------+--------+
| Used plugins |
+-----------------------+---------+--------+
| Plugin | Version | Action |
+-----------------------+---------+--------+
| fastlane-plugin-pgyer | 0.2.2 | pgyer |
| fastlane-plugin-firim | 0.2.2 | firim |
+-----------------------+---------+--------+
Loading documentation for firim:
+----------------------------------------+
| firim |
+----------------------------------------+
| Uses firim to upload ipa/apk to fir.im |
| |
| Created by whlsxl |
+----------------------------------------+
+------------------------+------------------------------------------------------+------------------+--------------------+
| firim Options |
+------------------------+------------------------------------------------------+------------------+--------------------+
| Key | Description | Env Var | Default |
+------------------------+------------------------------------------------------+------------------+--------------------+
| platform | The fir platform, support ios/android | | |
| firim_api_url | fir.im api URL | | https://api.fir.im |
| firim_api_token | fir.im user api token | | |
| firim_username | fir.im username, a sign for identify different token | | |
| ipa | Path to your ipa file | DELIVER_IPA_PATH | |
| apk | Path to your apk file | DELIVER_APK_PATH | |
| gradle_file | Path to your gradle file | | |
| icon | Path to the app icon, MUST BE jpg | | |
| file | Don't use this for upload file | | |
| app_identifier | The app's identifier | | |
| app_name | The app's name | | |
| app_desc | The app's desc | | |
| app_short | The app's short URL | | |
| app_is_opened | APP's download link whether opened | | |
| app_is_show_plaza | Whether the app show in plaza | | |
| app_passwd | The app's download page password | | |
| app_store_link_visible | Whether show store link in download page | | |
| app_version | The app's version | | |
| app_build_version | The app's build version | | |
| app_release_type | The app's release type (Adhoc, Inhouse) | | |
| app_changelog | The app's changelog | | |
| app_info_to_file_path | Append all [app's name] : [URL] to this file | | |
+------------------------+------------------------------------------------------+------------------+--------------------+
* = default value is dependent on the user's system
More information can be found on https://docs.fastlane.tools/actions/firim
bundle update
试试?
firim 有两个包fastlane-plugin-firim
和 firim
都需要升级
https://github.com/whlsxl/firim/issues/24