I am trying to build my app and deploy it to a simulator. When I click the build button, the app builds and the simulator launches. Right after it launches, I get an error saying The operation couldn't be completed. (LaunchServicesError error 0.)
In ~/Library/Logs/CoreSimulator/CoreSimulator.log, the error is:
com.apple.dt.Xcode[34376] <Error>: Error Domain=LaunchServicesError Code=0
"The operation couldn’t be completed. (LaunchServicesError error 0.)"
UserInfo=xxx {Error=PackageExtractionFailed, ErrorDescription=Failed to copy
file://~/Library/Developer/Xcode/DerivedData/MYAPP-xxx/Build/Products/Debug-iphonesimulator/MYAPP.app/
to file://~/Library/Developer/CoreSimulator/Devices/SIMULATOR-ID/data/Library/Caches/com.apple.mobile.installd.staging/temp.DoYgL4/extracted/MYAPP.app/}
In ~/Library/Logs/CoreSimulator/SIMULATOR-ID/system.log, the first error is:
open on ~/Library/Developer/Xcode/DerivedData/MYAPP-xxx/Build/Products/Debug-iphonesimulator/MYAPP.app/.xxx.cls: Permission denied
It does not seem like the "temp.DoYgL4" folder is being created, and I must need to change the permissions somewhere. Which permissions do I need to change?
Related
Hello I am having some problems running my app on my iPhone when I run the app from me this error:
Xcode's output:
↳
error: unable to read property list from file: /Users/indumonta/AndroidStudioProjects/contagem_de_pessoas/ios/Runner/Info.plist: The operation couldn’t be completed. (XCBUtil.PropertyListConversionError error 1.) (in target 'Runner' from project 'Runner')
note: Using new build system
note: Planning build
note: Constructing build description
Could not build the precompiled application for the device.
Error launching application on Tigomes.
Terminal:
MBP-de-Luis:~ indumonta$ plutil Info.plist
Info.plist: file does not exist or is not readable or is not a regular file (Error Domain=NSCocoaErrorDomain Code=260 "The file “Info.plist” couldn’t be opened because there is no such file." UserInfo={NSFilePath=Info.plist, NSUnderlyingError=0x7fd621d04140 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}})
Can someone help me?
Open your project directory and run from within
flutter create contagem_de_pessoas
This should create the missing info.plist
I am currently working on a project through github. My local project is connected to the github project folder through folder reference.Current File/Folder setup There hasn't been a problem, but now I keep getting the error "There is a problem launching using posix_spawn (error code: 2)." Before that, earlier today, I was receiving the error: "could not launch 'PROJECT NAME'. Internal error"
with the initial error ("could not launch 'PROJECT NAME'. Internal error") I attempted to fix the Schema configuration by following option B in this link (https://github.com/olilarkin/wdl-ol/issues/120). After attempting that I began receiving the later error ("There is a problem launching using posix_spawn (error code: 2).")posix_spawn Error
please help. Thanks
When I launch app sometimes I get this error and sometimes no:
2017-11-10 14:00:37.119701+0000 XXX[768:176399] [DYGLInitPlatform] connection to host has failed: Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"
2017-11-10 14:00:37.123363+0000 XXX[768:176399] aborting: platform initialization failed
(lldb)
What can cause this problem ?
There could be some corrupt files in your build folder.
Try running Clean (⌘+⇧+K) and Clean build folder... ( ⌘+⇧+⌥+K ) and rebuild your application.
In my case, the error was related to Launch Screen, most likely it was corrupt.
Deleting the launch screen under General Tab, fixed the issue.
I can successfully archive/build my application and use it without any issue, but i can't validate it for the AppStore.
Validating the archive with Xamarin results in the following Error:
"Archive does not include an Info.plist"
(opening the archive package in the finder shows that the Info.plist is available)
Validating the archive with Xcode Organizer results in an Alert Dialog
Following errors are in the logs:
[OPTIONAL] Error Domain=NSCocoaErrorDomain Code=4 "Item at "*/Applications/My.app" did not contain a "archived-expanded-entitlements.xcent" resource.
[OPTIONAL] Error Domain=NSCocoaErrorDomain Code=4 "No file at */Applications/My.app/Contents/embedded.provisionprofile'
The App is an embedded resource of an other App and as a resulting Validation Error i get the following message:
App sandbox not enabled for My.app/Contents/MacOS/My
I'm getting an error file from my xcode console. Console output Xcode Playground
Unable to create symlink at /Users/petergoeren/Library/Containers/com.apple.dt.playground.stub.OSX.HelloGreg-8245CB75-384D-4509-BADB-9FB6466D4C88/Data/Documents/Shared Playground Data due to error: Optional(Error Domain=NSCocoaErrorDomain Code=516 "The file “Shared Playground Data” couldn’t be saved in the folder “Documents” because a file with the same name already exists." UserInfo=0x7fb04850c500 {NSFilePath=/Users/petergoeren/Library/Containers/com.apple.dt.playground.stub.OSX.HelloGreg-8245CB75-384D-4509-BADB-9FB6466D4C88/Data/Documents/Shared Playground Data, NSUnderlyingError=0x7fb04850bce0 "The operation couldn’t be completed. File exists"})
hello Greg
This seems that a file is trying to save to a file that is already there. After I delete the file, it works once to pull up the correct error free console then the error comes back. Anyone ever run into this problem and know a fix?
I faced the same issu after a recent update to beta 4. After reading the devcenter forums I created the folder “~/Documents/Shared Playground Data”.
The message still appears now and then but not that often.
/MiB