iOS Uploading to AppStore - Unable to create configuration directory - ios

iOS App Upload to app store (XCODE) fails saying:
"Unable to create configuration directory. Cannot save local copy of remote diagonistic configuration; local path is not writable."
Any ideas/thoughts?
ANSWER
Simple thing that solved it:
Right Click on your Home folder & Click Get Info.
Uncheck the Locked Checkbox.

Related

iOS APP cannot launch successfully after updated from Apple Store

In my flutter iOS app, every time the app is launched, it would call PathProvider.getApplicationDocumentsDirectory() to get the app documents directory to access to the previously saved data. If I install the app on an iOS device(not update here), the app could work exactly as expected. But if I updated the app from Apple Store or from Xcode, the app cannot longer be launched successfully. When I try to debug, I found the app caught exceptions at working with the drectory returned by PathProvider.getApplicationDocumentsDirectory(). Anybody could give some suggestions for fixing this? Thanks in advance.
For more information, when launched, my app has to execute createSync(recursive=true) if it does not find some app documents directories where I would store user-generated data. The app documents directories are returned by PathProvider.getApplicationDocumentsDirectory. However, after I updated the app, and when launched the app, PathProvider.getApplicationDocumentsDirectory() could still return a directory which has appropriate pattern, but the returned directory may not be the right directory since my app failed to find previously created folders there, so the app had to create the relevant directory for storing user-generated data again, and then I always got the error as below
FileSystemException: Creation failed (OS Error: Operation not permitted, errno = 1)
when I tried to create the directory with createSync(recursive=true), and no matter the version of path_provider was 1.20 or 1.10, the phenomenon persisted. Please help.
I assume the error you got is both happened in iOS simulator & iOS device ?
Get the path
Would you mind try to run on iOS simulator, and print out the path of the folder you try to access.
Open the folder in Finder
And with the printed folder path, you can open the folder with Finder by Cmd + G.
The error
Your mentioned error usually is because accessing the folder not belong to the app.
Let's see more after you print out the folder path.

React native IOS app web-services works on simulator but not real IOS device

I have done with all the settings of my react native project and trying to run on the IOS simulator, it's working fine. Means all the api working properly.
So now I have to share my .ipa file to team members for testing, so creating .ipa file I am using procedure defined on react nativeRunning On Device documentation.
For creating .ipa file using Xcode following below process:-
In Edit Scheme option, change Build Configuration to release.
Clean Build Folder
Create Build.
Archive build.
After that exporting .ipa file using valid certificate.
Solutions I have tried:-
Checked with this solution, because the domain I am using to hit web service is not secured.(It's http)
Enable Transport security flag.
Added main.jbundle (created using command line) to Copy Bundle Resource option in Build Phases.
While adding Alert in api call, getting below error (check image)
Still No luck.
Please let me know, what I am doing wrong?
Please check api server live link is working or not. In my case, I am testing whole api's on local network (In LAN). But when trying with live url, I am also facing this issue.
So that time I made one mistake, that my url should contain http:// but in actual it was https://.
It's pointing to main.jsbundle file, that means it's having issue
related with your code.
So check it once.

PayLoad Directory not getting created

I'm having a project with Non-ARC,now I migrated the application Xcode 6 with SDK 8.1 after succesful migration, when I tried to archive it the *.ipa file got created but if I tried to upload the app via diawi or hokey app the it shows a issue
Say In Diawi it shows
No professional profile found
I tried changing it to .zip & extracted the zip there I found out instead of creating PayLoad directory it shows me Applications directory ,From that I came to know there is no Payload directory created that is the issue .
Kindly help me in this , Why Payload directory not been created ?
I just to add a script for creating Payload directory but that not worked for me.
To correct it, I need to edit the Info.plist file to set:
Application requires iPhone environment = YES

Phonegap 3.4: error ITM-9000 when distribute app to app store

I got an error when I was trying to upload my app to iOS app store. They show me the error like this.
Before I upload the app to store, I use command line
phonegap build ios
Then they generated new files in platforms/ios, after that, I clicked .xcodeproj file to open my project in Xcode.
I test my app on device simulator and it works fine on every iOS device. Then I archive my app to prepare it to be uploaded to app store. But during its uploading, it shows me the error ITMS-9000.
This is my config file in phonegapProject/www/config.xml
and my project in Xcode
project files structure.
any help?
Thank you.
In your product Info in Launch images section if you have "No image specified" in for some screens, please provide appropriate screens for them. Or you can use a asset catalogue to include splash screens and icons.

iPhone device: A valid provisioning profile for this executable was not found

I am having an issue when trying to load my application using the application loader.
Getting error message when trying to load the .zip file using the application loader...
"The application wrapper must end in .app /var/folders//5g/...."
I did the Product/Archive, but Archive is gray out .... I am not able to load my application neither from Xcode nor application loader. I am new to iOS... I have looked my application files and I don't see any .app file. is that it? I have created an application by using storyboard... any tips?
Thanks.
When using the Application Loader you need to upload an .app file. The ipa (or .zip) file that you have is an archive that contains an directory (Payload) with the .app file that has the name for your application. That's the file you need to upload from Application Loader
For uploading it from XCode you need to archive it, or go to Organize->Archives and select submit to AppStore from there.
If you have the Archive option disabled from the Product menu you need to select iOS Device as target in the run target drop down. You probably have iPad/iPhone Simulator X.X selected now.
Hope this helps.

Resources