Posts

Post marked as solved
2 Replies
0 Views
One of reason (from many other possible as googled) why archive is added to "Other items" is that Xcode does not know CFBundleVersion/CURRENT_PROJECT_VERSION. But it is not easy as always in Apple world. Anyway I had CFBundleVersion in Info.plist Xcode did not see/used it. See details below. After upgrade from Xcode 13.2.x to 13.4.x my app archive started to show in organizer in section "Other items" not in "iOS apps". Also in organizer app has empty version. Build to iPhone was working, build on simulator failed due to error, that I do not have CFBundleVersion in Info.plist - but I had it there. I had fixed number (not variable) and it is root of problem. I had to change static values to variables.... File Info.plist // OLD incorrect <key>CFBundleVersion</key> <string>345</string> <key>CFBundleShortVersionString</key> <string>1.2.3</string> // NEW correct <key>CFBundleVersion</key> <string>$(CURRENT_PROJECT_VERSION)</string> <key>CFBundleShortVersionString</key> <string>$(MARKETING_VERSION)</string> File project.pbxproj ... CURRENT_PROJECT_VERSION = 345; MARKETING_VERSION = 1.2.3; ... And additionally I had to add variables to file project.pbxproj to Release and Debug sections because I did not have it there. So with older Xcode it was working this way and versions was taken from Info.plist. Now it seems that source of true are variables from project.pbxproj but Apple have incorrect error messages because it is fail to say in error that CFBundleVersion is missing in Info.plist when it is there. Finally Xcode automatically deleted CFBundleVersion and CFBundleShortVersionString from Info.plist. I have spent many many hours of finding out what is problem. I hate upgrading Xcode - nightmare, many hours always lost.
Post not yet marked as solved
94 Replies
0 Views
The best solution to this stupid Apple situation is to install app "DevCleaner" which offers to delete many GB of Xcode (probably files and caches from simulators - I got 4-6 GB more space; builded archives I did not want to delete but app offers it too). It is really shame on Apple that I can not upgrade 12 GB app with 40 GB free disk space (maybe it time to offer external disk to store new installation files of xcode to save space). Soon I will have to throw my MacBook with 120GB disk to trash because of hungry Xcode upgrades. I just have in macbook Xcode and Chrome. I had to remove anything else bigger than 100MB due to hungry and nasty xcode. Many pre-installed bloatware apps like Music, TV, Mail, Maps, Books and many other can not be removed to free space.
Post not yet marked as solved
12 Replies
0 Views
macOS Big Sur 11.6.7 20G630 released in June 9, 2022 is incompatible with iOS 15.5 released May 16, 2022. Apple platform for developer is nightmare it is worst platform all over the world. I hate this. Apple is not able to support compatibility between own softwares for more then several weeks.
Post not yet marked as solved
2 Replies
0 Views
Answer here does not work - javaScriptCanOpenWindowsAutomatically does nothing. iOS is pain. Everything what works on Android is problematic on iOS. Android WebView has no problem with window.open(). We needed to open link with PDF and link is dynamically created. We had to change "button" element with onclick="window.open(...)" to "a" element with target=_blank and dynamic href=...
Post not yet marked as solved
37 Replies
0 Views
Restarting XCode worked. Apple sh!t platform.
Post not yet marked as solved
7 Replies
0 Views
It is a little bit tricky/complicated. You have to do two production releases. Firstly add screens for origin primary language (as usually) and also for new secondary language - release must be reviewed and approved by Apple. Then you have to do second release in which you can change primary language. So process takes several days to change primary language :(
Post not yet marked as solved
8 Replies
0 Views
Apple did not add this option after 5 years, terrible. When you click to new release by mistake you can not trash it! In google play console no problem.
Post marked as solved
3 Replies
0 Views
Click your project name in the Project Navigator. Then select your Tests target. Click the minus (-) button at the bottom to delete it. (Select everywhere in red in the image below.) https://stackoverflow.com/a/32009990/3826175
Post not yet marked as solved
94 Replies
0 Views
Shame on Apple! I have 41 GB free space but I can not update latest Xcode which has just 12 GB. How much place it needs to unzip? My 4 year old MAC with 120GB disk is not usable I can trash it because I have there just MAC OS + Xcode and it says that 40 GB is not enough for Xcode update. Terrible! Also it always downloads Xcode from the start! Dear Apple, why I have to download several times 12GB when you show alert about not enough space to install (but it is already downloaded because it has only 12Gb and free space is 40 GB, why you delete it???). I have to download again and again after unsuccessful Update button click.
Post not yet marked as solved
2 Replies
0 Views
No solution? I see local storage is resetting also on iOS 14.2 with Safari 14.0.1. Terrible bug, web app always downloads data from server.
Post not yet marked as solved
1 Replies
0 Views
Something new here? I have the same problem since Xcode 12.
Post not yet marked as solved
40 Replies
0 Views
I would like to share my knowledge with simulator performance issue. I have hybrid HTML5 + JavaScript app (web/android/iOS) and for android/iOS mobile apps I use web-view. I detected that some part of my app is extremely slow in Xcode simulator. It is part with Date object manipulations. When I run e.g. this simple JavaScript codevar x = new Date(); x.setMilliseconds(0); x.setSeconds(0); x.setMinutes(0);in cycle with e.g. 1000 iterations it runs fast (several tens milliseconds e.g. 30 ms) in any browser any device any platform including very old iOS device e.g. iPhone 5C and several years old iPad 2, BUT IN SIMULATOR IT TAKES 6000 ms (yes, 6 seconds!). So simulator is 200 times slower! Terrible! Jsfiddle demo here: https://jsfiddle.net/kjms16cw/ I see in Xcode console error: "[IPC] Connection::waitForSyncReply: Timed-out while waiting for reply". Interesting is that Xcode during that 6 seconds show app CPU usage 0% but in host device (MacBook Pro) monitor I see that CPU increased from about 5% before to 50% during test. Dear Apple can you explain please that low simulator performance? So Im not possible to test my app in simulator at all... we also need simulator for testing but also for creating screenshots for several resolutions required before app publishing in app store. My app is for public transport and we need to do lot of date calculations each second (several hundreds) which usually takes 10 ms but in simulator several seconds and interval each second makes app totally unresponsive and unusable in simulator.
Post not yet marked as solved
2 Replies
0 Views
I have just received invoice but red alert is still there 😮