MonkeyDev
MonkeyDev copied to clipboard
Xcode 15.3 iOS 17.4.1 The item at weixin-test.app is not a valid bundle. Domain: com.apple.dt.CoreDeviceError Code: 3000
Failed to install the app on the device. Domain: com.apple.dt.CoreDeviceError Code: 3002 User Info: { DVTErrorCreationDateKey = "2024-04-09 09:42:40 +0000"; IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; NSURL = "file:///Users/zxc/Library/Developer/Xcode/DerivedData/weixin-test-doswfmdicidcxagegwvphsinligf/Build/Products/Debug-iphoneos/weixin-test.app/"; }
Failed to install the app on the device. Domain: com.apple.dt.CoreDeviceError Code: 3002 User Info: { IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker; NSURL = "file:///Users/zxc/Library/Developer/Xcode/DerivedData/weixin-test-doswfmdicidcxagegwvphsinligf/Build/Products/Debug-iphoneos/weixin-test.app/"; }
The item at weixin-test.app is not a valid bundle. Domain: com.apple.dt.CoreDeviceError Code: 3000 Failure Reason: The path to the provided bundle's main executable could not be determined. Recovery Suggestion: Ensure that your bundle's Info.plist contains a value for the key CFBundleExecutable. User Info: { NSURL = "file:///Users/zxc/Library/Developer/Xcode/DerivedData/weixin-test-doswfmdicidcxagegwvphsinligf/Build/Products/Debug-iphoneos/weixin-test.app/"; ProvidedBundle = "file:///Users/zxc/Library/Developer/Xcode/DerivedData/weixin-test-doswfmdicidcxagegwvphsinligf/Build/Products/Debug-iphoneos/weixin-test.app/"; }
Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : { "device_isCoreDevice" = 1; "device_model" = "iPhone11,8"; "device_osBuild" = "17.4.1 (21E236)"; "device_platform" = "com.apple.platform.iphoneos"; "dvt_coredevice_version" = "355.24"; "dvt_mobiledevice_version" = "1643.100.58"; "launchSession_schemeCommand" = Run; "launchSession_state" = 1; "launchSession_targetArch" = arm64; "operation_duration_ms" = 11; "operation_errorCode" = 3000; "operation_errorDomain" = "com.apple.dt.CoreDeviceError.3002.com.apple.dt.CoreDeviceError"; "operation_errorWorker" = IDEInstallCoreDeviceWorker; "operation_name" = IDERunOperationWorkerGroup; "param_debugger_attachToExtensions" = 0; "param_debugger_attachToXPC" = 1; "param_debugger_type" = 3; "param_destination_isProxy" = 0; "param_destination_platform" = "com.apple.platform.iphoneos"; "param_diag_MainThreadChecker_stopOnIssue" = 0; "param_diag_MallocStackLogging_enableDuringAttach" = 0; "param_diag_MallocStackLogging_enableForXPC" = 1; "param_diag_allowLocationSimulation" = 1; "param_diag_checker_tpc_enable" = 1; "param_diag_gpu_frameCapture_enable" = 0; "param_diag_gpu_shaderValidation_enable" = 0; "param_diag_gpu_validation_enable" = 0; "param_diag_memoryGraphOnResourceException" = 0; "param_diag_queueDebugging_enable" = 1; "param_diag_runtimeProfile_generate" = 0; "param_diag_sanitizer_asan_enable" = 0; "param_diag_sanitizer_tsan_enable" = 0; "param_diag_sanitizer_tsan_stopOnIssue" = 0; "param_diag_sanitizer_ubsan_stopOnIssue" = 0; "param_diag_showNonLocalizedStrings" = 0; "param_diag_viewDebugging_enabled" = 1; "param_diag_viewDebugging_insertDylibOnLaunch" = 1; "param_install_style" = 2; "param_launcher_UID" = 2; "param_launcher_allowDeviceSensorReplayData" = 0; "param_launcher_kind" = 0; "param_launcher_style" = 99; "param_launcher_substyle" = 8192; "param_runnable_appExtensionHostRunMode" = 0; "param_runnable_productType" = "com.apple.product-type.application"; "param_structuredConsoleMode" = 1; "param_testing_launchedForTesting" = 0; "param_testing_suppressSimulatorApp" = 0; "param_testing_usingCLI" = 0; "sdk_canonicalName" = "iphoneos17.4"; "sdk_osVersion" = "17.4"; "sdk_variant" = iphoneos; }
System Information
macOS Version 14.4.1 (Build 23E224) Xcode 15.3 (22618) (Build 15E204a) Timestamp: 2024-04-09T17:42:40+08:00
me too,你解决了吗
me too,你解决了吗
解决了
me too,你解决了吗
解决了
解决我,大佬
me too,你解决了吗
解决了
教教我,大佬
me too,你解决了吗
解决了
教教我,大佬
让我想想啊 ,现在能运行了,时间久了 忘记怎么弄的了
me too,你解决了吗
解决了
教教我,大佬
让我想想啊 ,现在能运行了,时间久了 忘记怎么弄的了
你新建一个工程再试试
me too,你解决了吗
解决了
教教我,大佬
让我想想啊 ,现在能运行了,时间久了 忘记怎么弄的了
你新建一个工程再试试
新建工程 拖ipa 进去能正常运行
me too,你解决了吗
解决了
教教我,大佬
让我想想啊 ,现在能运行了,时间久了 忘记怎么弄的了
你新建一个工程再试试
新建工程 拖ipa 进去能正常运行
好像是ipa包的问题吧,你换个正常的越狱的包试试
不是,现在xcode15 无法吧ipa的内容打包到app了,我吧.ipa 获取.app ,让后将.app 变成文件夹,依赖到工程里面,解决了这个问题。
不是,现在xcode15 无法吧ipa的内容打包到app了,我吧.ipa 获取.app ,让后将.app 变成文件夹,依赖到工程里面,解决了这个问题。
这个没注意,我直接往手机上跑的,我记起来怎么解决的了,好像是从新更新了monkey dev 的templet那个文件夹
Build Settings 里面把 User Script Sandboxing 关闭掉就行了
- 关闭 User Script Sandboxing
- .ipa -> .app
无解,经过痛苦地多次 digging 后,最后解决方案:
Build Settings里面把User Script Sandboxing关掉就行了
我关闭这个后,就报错 Showing Recent Messages Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. Apply an Info.plist file to the target using the INFOPLIST_FILE build setting or generate one automatically by setting the GENERATE_INFOPLIST_FILE build setting to YES (recommended).
mark
Build Settings 里面把 User Script Sandboxing 关闭掉就行了
@uleezhang 牛逼,确实 OK 了。好奇大佬是怎么发现这个解决办法的。
Build Settings里面把User Script Sandboxing关掉就行了
我关闭这个后,就报错 Showing Recent Messages Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. Apply an Info.plist file to the target using the INFOPLIST_FILE build setting or generate one automatically by setting the GENERATE_INFOPLIST_FILE build setting to YES (recommended).
+1 有解决方案吗
Build Settings里面把User Script Sandboxing关掉就行了
我关闭这个后,就报错 Showing Recent Messages Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. Apply an Info.plist file to the target using the INFOPLIST_FILE build setting or generate one automatically by setting the GENERATE_INFOPLIST_FILE build setting to YES (recommended).
+1 有解决方案吗
你这个估计是没有把monkeydev安装好的原因吧
Build Settings里面把User Script Sandboxing关掉就行了
我关闭这个后,就报错 Showing Recent Messages Cannot code sign because the target does not have an Info.plist file and one is not being generated automatically. Apply an Info.plist file to the target using the INFOPLIST_FILE build setting or generate one automatically by setting the GENERATE_INFOPLIST_FILE build setting to YES (recommended).
+1 有解决方案吗
你这个估计是没有把monkeydev安装好的原因吧
对 我后面重新安装了又可以了 需要clean build