Unity + iOS + Xcode woes - ios

I set up the provisioning profile, the certificate, device identifier, etc and can build my ios project with no errors.
On my iPAD I see an icon with my app name but when I open it, the screen turns white and it does nothing...
The build is working fine on android, which I used to develop it, Unity builds an ios build with no problem, I open that folder as a new xcode project, and can build it then run but it doesn't do anything....xcode says "Running"....
Any idea's??? What a p.i.t.a....I thought I'd be golden after getting it to build...I've uploaded the build to dropbox and try to open on the ipad but it just says "Open with dropbox?" after it zips the folder as I try to download it to the device.....

Related

Cordova Universal Links works in iOS Simulator but not in dev/prod builds

I am developing a Cordova hybrid app. I added the cordova-universal-links-plugin 1.2.1 to my project. It compiles and works fine with Android.
I went through all the setup steps for iOS located at https://www.npmjs.com/package/cordova-universal-links-plugin-fix
As a result, the Xcode simulator works correctly and clicking on my app url (https://my-app-link.com/) inside the Xcode Simulator Messages app opens up the app inside the simulator and not Safari.
However when I compile the app using cordova:
cordova build ios --debug --device --no-telemetry
OR
cordova build ios --release --device --no-telemetry
Both of them don't work and clicking the link from the Messages app opens Safari browser instead of my app.
I already confirmed that long clicking the link doesn't show an option to "Open in MyApp". I tried different devices and it's the same.
I am suspecting that the entitlement file is not being compiled correctly when I build the project but I don't know the correct location for it in a cordova app and how to confirm if this is the problem or something else.
OK, it turns out to be a problem with Cordova/Phonegap build process. Once I used Xcode build process by selecting a destination of "Generic iOS Device" and then selecting Archive from the Product menu, XCode built the right IPA file and I uploaded the file to the App Store where it got the universal links working correctly on iOS devices.

Installing PDF reader in iOS simulator

Currently I am using Xcode 8.3.3 and Xcode 9 Beta 4.
How do I install a PDF reader and email apps in the iOS simulator.
I have gone through this link:
Is it possible to install Adobe reader or third party application in iOS simulator for testing?
and
*How to install iPhone application in iPhone Simulator.
But it was of no use.
I even tried the drag and drop method. It shows the process, but then it displays the error "unable to install the app".
How do I add applications in simulators? Currently I don't have any devices, so I want to test the functionality on the simulator.
After trying a few options and going through some folders, I am confirmed that it can be done. Can it be done by placing the payload files of PDF viewers in iPhone simulator's application folder?
If it's an app built for the simulator, then yes it can be done using the methods you linked to.
If this is an app built for the AppStore, then it's not possible. Apps built for AppStore are compiled for ARM CPUs; for simulators, they're compiled for x86.
Firstly, read these steps. However for me, the second step was not working. So I went for alternative method.
You need an iPhone for the above. If you don't have one, search the web for .ipa file of that apps and follow above procedure. Or you can use open source projects like: https://github.com/Alua-Kinzhebayeva/iOS-PDF-Reader.
Run this project for the first time. Go to project navigator:
Right click on the PDFReader.app and click "Show in Finder".
Copy and paste it in this folder Applications > Xcode.app (right click - Show Package Contents) > Contents > Developer > Platforms > iPhoneSimulator.platform > SDKs > iPhoneSimulator7.0.sdk > Applications.
and reboot the simulator. The app will be preinstalled like other apps in simulator. Ready enough to test your app functionality with pdf readers or any app you want.

How to build reactnative v0.45 project to ios realse

I'm using the latest reactnative verion 0.45 and I didn't get a clue on the official doc about how to build the ios release.
About how to the running on ios device section of the doc quoted here:
Connect your iOS device to your Mac using a USB to Lightning cable.
Navigate to the ios folder in your project, then open the .xcodeproj
file within it using Xcode.
But there is no ios folder found after running command npm ios. And most StackOverflow answers like this one require a command like react-native-bundle which was not found either.
I have already got Xcode and an app develop member account and Really want to build my first reactnative app to my iphone before I could do more stuff on it.
I know this might be a very newbie question. If someone could just give some guide or throw some docs about this?
I stuck on this problem since a few days too, unless you will not get an ios or android folder any more with React Native 0.45.
You can build your standalone app by using Expo: https://docs.expo.io/versions/v17.0.0/guides/building-standalone-apps.html
As I understand, they build your app for you online, so it takes some time and require an free expo-account, but after it finised, you can download your .apk or .ipa to submit it to Play Store or AppStore.
When you want to add more custom (non javascript) code to your project and edit it in Andoid Studio or Xcode, so you have to eject your from Reative Native: https://github.com/react-community/create-react-native-app/blob/master/EJECTING.md
After that, you can test your App by building for your own in the simulator, with no need of the Expo-App.
Open the ios folder of your project using xcode
Connect your phone and select your phone from the device selection dropdown
Select the first tab in the explorer and go to signing area, select your development team
Click play and it will install the app in your phone on development mode
For Production build, you can do the same. However, you would need to change your scheme to production:
Open scheme menu under product. From the dropdown, look all the way down, you'll find the menu Edit Scheme, select this.
Select the Release scheme, hit close and re-run your project in your phone.
Note: if you are building for release, make sure your target device is Generic iOS Device
Hope it helps! :)

Unable to archive updated iOS PhoneGap app

I recently upgraded my PhoneGap app from 2.4.0 to 3.4.0. To do this I had to create a new project using NodeJS, then copy all the www files and resources into the new project. I added a new ios platform. It compiles and runs in xcode 5.1. The simulator works too.
Now I want to submit this to the app store as an update to my previous version. The problem is the "Product > Archive" menu in xcode is disabled.
Has anybody who can give me some direction been through this process? Or direct me to where I can get some help?
======
UPDATE: I found that I the target device must be set to iOS Device in order to archive a project. Now Archive is enabled. I run archive, but no archive is listed in the Organizer.
Still looking for help.
Make sure you connect your device first. You cannot archive your project without a device.
This turns out to be a simple oddity with Xcode. If you have a simulator selected you cannot archive. Choose iOS Device and then you can archive, with or without an actual physical device connected.

Generated IPA disributed over TestFlightApp.com looks different than Simulator and iOS Device

I have a project that looks awesome on the Simulator and on iOS device if I build and Run with Xcode, but if I achieve the project and upload to TestFlighApp, when I download the app on the same iPad I tested the project previously, it looks different.
Does anybody knows why this happens? I have no clue on how to debug this.
Please refer to the following sample, both screenshots taken from the device, one using the IPA and other running from Xcode on iOS device.
Those black lines.. I don't know where they come from
The problem can be in Compress PNG Files option in your project Build settings.
Also check that build configurations of XCode scheme for Run and Archive are the same (must be Release).

Resources