我一直在努力使可可足类在Fastlane / Jenkins中工作。 这是Jenkins的控制台输出:
[12:40:31]: [32m--- Step: cocoapods ---[0m
[12:40:31]: [32m-----------------------[0m
[12:40:31]: [36m$ bundle exec pod install[0m
+------------------+------+
| [33mLane Context[0m |
+------------------+------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | |
| LANE_NAME | beta |
+------------------+------+
[12:40:31]: [31mNo such file or directory - bundle[0m
+------+-----------------------+-------------+
| [32mfastlane summary[0m |
+------+-----------------------+-------------+
| Step | Action | Time (in s) |
+------+-----------------------+-------------+
| 1 | default_platform | 0 |
| 2 | clean_build_artifacts | 0 |
| | [31mcocoapods[0m | 0 |
+------+-----------------------+-------------+
[12:40:31]: [31mfastlane finished with errors[0m
[12:40:31]: [33mError accessing file, this might be due to fastlane's directory handling[0m
[12:40:31]: [33mCheck out https://docs.fastlane.tools/advanced/#directory-behavior for more details[0m
在Fastfile的通道中添加cocoapods
动作之前,一切都像魅力一样。
答案 0 :(得分:0)
我最终在如下所示的def main():
myfinal_list, final_count = Function1(list1, count1)
Function2(myfinal_list, final_count)
操作中禁用了包。
cocoapods
虽然花了很多时间才发现它。希望以后能对其他人有所帮助。
答案 1 :(得分:0)