Images are not showing only in iOS simulator - ios

This is a high-level question so some general guidance will be helpful here.
I am developing an app using react native and firebase. I have a web version, and am developing a react native app and testing it using iOS simulator.
From yesterday, iOS simulator won't show any image for my app, while the images all show up properly on my web/mobile web versions.
Any potential reasons why this might be happening? New to app development and am very confused, especially because until yesterday all the images were loaded on iOS simulator as well without any problem.
Any idea? Thanks!

is the simulator iOS 14 and your RN version is below 63? if yes this is a known issue you can use a patch package in RN issues in GitHub that fixes this or use react-native-fast-image. I personally use fastImage because it has a lot of benefits.

Related

All iOS apps submitted to the App Store must be built with the iOS 15 SDK or later, but our iOS SDK is already of version 15.2

I have found similar questions in this and this articles, but neither can solve my problem.
The message given by Apple Store Connect was also "ITMS-90725: SDK Version Issue - This app was built with the iOS 14.4 SDK. All iOS apps submitted to the App Store must be built with the iOS 15 SDK or later, included in Xcode 13 or later."
However, I have checked that I am using xcode 13.2.1 which works with iOS 15.2 SDK, running on macOS Big Sur 11.6.4 (well.... a 2015 iMac, kind of old though). I believe it is capable of building a project with iOS 15.2 SDK, but I just can't find where I shall tune (if necessary) to avoid it keeping using iOS 14.4 SDK to build my project. Could you please help me solve the issue? Thank you very much!!
The figures below show the environment I mentioned above:
Looks like you have multiple Xcodes installed, please make sure you have selected the correct version for your Command Line Tools
I found that it was an embarrassing reason which caused the problem I raised above. I think I am responsible for showing what was going on to all who have read this post, and especially to those who had paused to think about this issue.
In short, Xcode 13.2.1 does build the app using iOS 15.2 SDK.
I was able to successfully archive, verify in Xcode, and uploaded the binary to app store connect. However, I was not familiar with the app store connect and did not aware that there was another binary built with iOS 14.4 SDK which was left by my predecessor.
Though I tried several times rebuild and re-upload, I kept falsely submitting the old binary to Apple's reviewer.
That's it, and no bug or secret about Xcode using older version of iOS SDK to build apps, it is just not true. Xcode does build using its latest SDK. Again my apologies to those who also worried about this issue.

iOS 14 Google Cardboard view is broken

On all apps that I can find that use Cardboard in iOS 14 (iPhone), the VR view is insanely bugged. The camera swings wildly all over the place.
Here is a video example: https://www.reddit.com/r/youtube/comments/i1nbs0/ios_14_vr_error/
The official Google Cardboard app-store application is broken as soon as you start it. It is also broken on the app I develop for which uses GVR and Unity.
Weirdly, it will temporarily function as expected if you restart your iPhone. The time it takes to break is seemingly random - sometimes it will be broken right away, and sometimes it will work for hours before breaking.
We have tested this on two iPhone 8+, and an iPhone 11.
Things I have tried:
Updating to beta iOS14.2 does not fix the issue.
Rebuilding in Xcode 12.2 Beta does not fix the issue
No errors or warning appear in my local build for our GVR project.
Turns out GVR is now obsolete for IOS14 (unless someone makes a fix for it.. doubt it). Have to upgrade to Cardboard SDK.
https://github.com/googlevr/cardboard/issues/118
I've answered this question on the Official Goggle Cardboard repository, but here's a quick recap for who got here first:
This is a iOS 14 incompatibility with the (now obsolete) Google Cardboard Plugin for Unity. I don't know for sure if there's a workaround to continue using this plugin, but I've tested the new plugin on both iPhone XR and SE and it works exactly as expected.
I've even loaded my app and the test app side by side, having the first one with a completely bugged view as described on the post and the test app, with the new plugin, working normally.
Finally, in order to continue using Cardboard VR with Unity on iOS 14, you should:
Upgrade to Unity 2019.3.15f1 or later
Integrate the new Google Cardboard XR Plugin
The new Cardboard XR plugin fixes this iOS 14 issue however, it was still somewhat buggy for me. My solution to this was to update my app with the Mobfish Google Cardboard package. I highly recommend it. It works with Metal/OpenGLES2/OpenGLES3 and default renderer/URP/HDRP. It also works with unity 2018 and up so no XR subsystem is needed. I published an update to my app using this plugin and it fixed the issue that arose from iOS 14.
Alright so look. I'm using an I7 updated to the most recent version of IOS14 AND Unity 2020.1.9f and xcode12, I've integrated the project EXACTLY how the https://github.com/googlevr/cardboard-xr-plugin shows it to be more specific here's the actual step by step page I followed and the ONLY way it has worked for me so far(does work outside of the test scene too just reverse engineer what's in the test scene or create a prefab of the player and drag and drop into your original scene then delete the old sample scene out of your build scenes)https://developers.google.com/cardboard/develop/unity/quickstart
obviously make sure you follow the steps for your phone, but make sure you follow every step exactly how it's done.
I WOULD NOT RECOMMEND DOWNGRADING PAST 2019.4.11f
Anything past 2019.4.11f has a bunch of depreciated scripts that will either cause issues in build or in xcode, also the new unity is set up to allow people to easily ask for permissions now needed with iOS' new privacy policy and security. For example if you build a successful VR project in an older version of Unity you MAY be giving up other cool features like voice command and etc...
FYI:
I was able to make it work without the need of compiling anything.
(I use a DESTEK V5 headset with an iPhone 11 running iOS 14.5 beta)
How I solved it:
I just updated to 14.5 beta, but also
I installed "Player360" from Mobfish.
After a restart, it works perfectly.
VR cardboard view 1
VR cardboard view 2
Please the experts explain what might be the trick happening here:
I don't know if it was the update to 14.5 beta and/or installing the app from Mobfish. (I thought if I installed an app with the Unity plugin update for iOS 14.X embedded, I might be forcing iOS to use the Unity VR version what was on its RAM).
CAVEATS: the issue comes back under the following conditions:
After switching from one VR app to another
After using the VR app for a long period (I use Holofit for indoor rowing)
Solution: Restart iOS
UPDATED

What is the minimum iOS version supported by ionic 3?

As I got information from googling and reading on ionic official docs
iOS 8+ should be supported
but when I tried to download it from the app store in my device (iPhone 5) I got
This means the ionic 3 apps are not supported by iOS 10. If so then is there any way to make it available for iOS 10 as well in ionic 3?
any help is appreciated.
Looking at this, it seems to be the newly Content Security policy.
common symptom of apps suffering from this issue is that the app continues to work as expected on Android, uptill iOS 9 but doesn't launch / load on iOS 10.
i also havent found a way to make this work

Cordova iOS app

I'm trying to create a Cordova app for learning purposes to deploy to my iPhone 5 for personal testing.
For the life of me however I can't seem to understand what I have to do. I have Xcode installed as all the tutorials have mentioned. How do I create a provisioning profile (with a free developer account)? How do I sign my device?
Nothing I've found online seems to explain in clearly, or for beginners such as myself.
Also, is there a way to create all of this but not use Xcode as my IDE for developing my app?
You don't need to use XCode to develop your Cordova app, as the app is just CSS, JavaScript, and HTML. I like to use WebStorm, but you can use whatever suits you. However, in order to deploy your app to a device, you do need XCode. Here's a link to an answer for a similar question. This is in regards to XCode 7 and I'm not sure what version you have, or if this still holds for XCode 8.
You only deploy after you do a build for iOS with Cordova, by running $ cordova build. Here is a link to Cordova's docs.

Upgraded Adhoc app deployment doesn't work on iOS previous to 7.1

I had trouble with installing -deployed adhoc- development app before upgrading to iOS 7.1 and XCode 5.1
XCode 5.0 wasn't recognizing iPhones with iOS 7.1.
We upgraded and everything seems fine until we deployed as adhoc distribution.
I followed solution at Enterprise app deployment doesnt work on ios 7.1 and it greatly worked for installing the app in iphones with ios 7.1
But, now iphones with ios 7.0x can't install the app.
Results that some of our boss' bosses hadn't upgraded and don't want to, and desires backwards compatibility.
The app starts downloading but stops in the middle, the icon is completely grayed out and the app doesn't open.
Looking for alternatives, we are trying to acquire another macbook with previous system but it had been very hard to obtain our current resources.
We started implementing in the html page a script for recognizing the device, using user-agent variable, we plan to use this script to choose different plist files for iOS version 7.1 or previous. We expect it works as soon as we obtain the ipa in the newer macbook, as soon as we get it...
I wish for an easier solution that allows compatibility with newer versions and let us avoid project 'branch'ification.
Thanks a lot!

Resources