Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionic 1 and XCode 10 iOS app redirect to background automatically #555

Closed
girish-fuluskar opened this issue Mar 1, 2019 · 2 comments
Closed

Comments

@girish-fuluskar
Copy link

girish-fuluskar commented Mar 1, 2019

No description provided.

@girish-fuluskar
Copy link
Author

Hi,

I am facing this issue.

I am working on Ionic 1 app.

I am able to build .apk for latest version android phones and app is working fine.
With following command:
ionic cordova run ios – --buildFlag="-UseModernBuildSystem=0"
I am able to build iOS project from ionic and able to generate ipa file from xcode 10. But after installing .ipa on actual device (with iOS 12 and above), app open for a second and went into background.
Same .ipa file is working fine for older iOS devices with iOS 9 and 10.

Following are my setup details:

Ionic:

ionic (Ionic CLI) : 4.9.0 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic1 1.3.3
@ionic/v1-toolkit : 1.0.17

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.4, ios 5.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.3.2, (and 19 other plugins)

System:

ios-deploy : 1.9.2
ios-sim : 7.0.0
NodeJS : v10.15.0 (/usr/local/bin/node)
npm : 6.8.0
OS : macOS Mojave
Xcode : Xcode 10.1 Build version 10B61

Kindly advise.

@girish-fuluskar
Copy link
Author

Hi,
I found the resolution for this issue.
It seems the issue was with CT signature issue.

Posting the resolution, so it might help someone.
In Keychain Access, I set the trust settings to "Use System Defaults" for the following certificates:

Apple Worldwide Developer Relations Certification Authority
Developer ID Certification Authority
iPhone Developer: {email}
iOS Distribution

After this, in XCode do clean build for the project. Also restart XCode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant