I am facing a little strange problem with Xcode, that is when I run my app is Xcode shows Succeeded but my app does not run automatically on iPhone or Simulator. I have to manually click on app icon then it runs. I have already tried all the solutions I could find. I have tried the following points:
Please note I am using these frameworks via pods name are:
pod 'IQKeyboardManager'
pod 'GooglePlacePicker'
pod 'Firebase/Messaging'
pod 'Google'
pod 'Google/SignIn'
pod 'FBSDKCoreKit'
pod 'FBSDKShareKit'
pod 'FBSDKLoginKit'
The app does not run automatically even after Xcode show Build succeeded on simulator/iPhone.
I had a very similar problem after adding Cocoapods to my project. I was also using the Swifter framework at the same time and somehow the new .xcworkspace had the wrong scheme selected.
Similar to how Ravi fixed his issue. I changed the scheme under
Product > Scheme > Choose Scheme
(Keyboard shortcut ^0
) back to the original Scheme (basically the name of my project) and everything worked again.
There is one more possible problem that I can think of and that is, you're using a developer account on this project that is not trusted/verified on your iphone. After running your app for once on this device. Go to Settings > General > Device Management. Then select the developer account that you have used to build this app and finally tap "trust".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With