Xamarin Mono Application Entitlements missing - cocoa

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

Related

Archive attempt in Xcode 11.4 result in error: “The bundle uses a bundle name or display name that is already taken.”

1) I registered a brand new identifier in Apple Developer - org.cogswatch.Complaints14.
2) I set the bundle ID of my new app in applestoreconnect to org.cogswatch.Complaints14.
3) I set my bundle identifier in Xcode to org.cogswatch.Complaints14
4) I attempted to archive / distribute in Xcode 11.4 and got:
App Store Connect Operation Error ERROR ITMS-90129: “The bundle uses a bundle name or display name that is already taken.”
5) Sanity check - I changed the bundle ID in Xcode to org.cogswatch.Complaints14a and still got:
App Store Connect Operation Error ERROR ITMS-90129: “The bundle uses a bundle name or display name that is already taken.”
6) Another sanity check - I removed the app in appstoreconnect, and tried another distribute in Xcode and got:
App Store Connect Operation Error
ERROR ITMS-4241: “App is Removed or Deleted. Apps can’t be validated or submitted while they’re removed or deleted.” at SoftwareAssets
7) I Restored the app in appstoreconnect and tried again to distribute in Xcode and got:
App Store Connect Operation Error
ERROR ITMS-90129: “The bundle uses a bundle name or display name that is already taken.”

Problem running an app on the iPhone with 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

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?

.XIB / .NIB File doesn't load properly

My application got SIGABRT throwing error message:
"Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Could not load NIB in bundle: ... "
Select the NIB file that is causing the SIGBART error, watch out on the file inspector and go to the "Target Membership" section. There you will see your project name with a check box at it's left. Check that box (mark as selected) and build & run your application. It should work fine.

iPhone push-notification error Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application"

All the setup as per requirements.
ApplePushNotification[7822:707] Error: Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x1922f0 {NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application}
Please help.
I have encountered the problem, its possible causes in order are below:
"produce CSR"
"download the development and production certificate"
"configure the development and production SSL "
"download the Provisioning certificate"

Resources