gpt4 book ai didi

Trigger.io [Errno 18] 跨设备链接

转载 作者:行者123 更新时间:2023-12-04 00:10:27 24 4
gpt4 key购买 nike

当我尝试运行时 包 ios 在 mac 上,我得到以下信息:

[INFO] Forge tools running at version 3.3.5
[INFO] Update result: you already have the latest tools
[INFO] Configuration is unchanged: using existing templates
[INFO] Checking JavaScript files...
[INFO] JavaScript check complete
[INFO] Verifying your configuration settings...
[INFO] Configuration settings check complete
[INFO] Development build created. Use forge run to run your app.
[INFO] Forge tools running at version 3.3.5
[INFO] Checking JavaScript files...
[INFO] JavaScript check complete
[INFO] Verifying your configuration settings...
[INFO] Configuration settings check complete
[INFO] Starting package process for iOS
[INFO] Going to package: /Users/******************/device-ios.app
[INFO] Plist OK
[INFO] 1 Provisioned Device(s):
[INFO] ['c**************************b']
[ERROR] [Errno 18] Cross-device link

应用配置、本地配置等上的设置都正确填写。

这是调试输出
........
in run
self._run_task(func_name, args, kw)
File "/Users/username/forge-workspace/compapp1/.template/generate_dynamic/build.py", line 293, in _run_task
self.tasks[func_name](self, *args, **kw)
File "/Users/username/forge-workspace/compapp1/.template/generate_dynamic/ios_tasks.py", line 568, in package_ios
certificate_password=certificate_password,
File "/Users/username/forge-workspace/compapp1/.template/generate_dynamic/ios_tasks.py", line 362, in create_ipa_from_app
self._create_entitlements_file(build, plist_dict, temp_file_path)
File "/Users/username/forge-workspace/compapp1/.template/generate_dynamic/ios_tasks.py", line 299, in _create_entitlements_file
_replace_in_file(temp_file_path, 'APP_ID', bundle_id)
File "/Users/username/forge-workspace/compapp1/.template/generate_dynamic/ios_tasks.py", line 294, in _replace_in_file
os.rename(tmp_file, filename)
OSError: [Errno 18] Cross-device link

最佳答案

转至 /Users/username/forge-workspace/compapp1/.template/generate_dynamic/ios_tasks.py第294行,

改变这一行:os.rename(tmp_file, filename)
对这个:shutil.move(tmp_file, filename)
再打包。

source

关于Trigger.io [Errno 18] 跨设备链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11578443/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com