Problem running an app on the iPhone with Xcode - xcode

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

Related

Can't download a file in file provider because of a system error

I have created an extension via the fileprovider template and adopts fileprovider protocols in Xcode. But when i download a file, the system throws the error:
"Couldn't communicate with helper application".
From the system log i can see that the fetch-content failed with such error:
┳139b4 ‼️ done executing <FP2 ‼️ fetch-content(a file 1)
why:materialization|itemChangedRemotely
sched:userInitiated.1647482996.810533#1647482996.810533
error:<NSError: Cocoa 4101 "Couldn't communicate with helper
application." Underlying={NSError: POSIX 2 "couldn't issue sandbox
extension com.apple.app-sandbox.read-write for
'/f/db641e9a04e144c6b320': No such file or directory" }}>>
Any advise would be appreciated, thanks!

Launch error | There is a problem launching using posix_spawn (error code: 2)

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

Error at launch app

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.

Cannot open app on simulator because temp file is not created

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?

Xamarin Mono Application Entitlements missing

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

Resources