I'm trying to develop an application for the pebble that connects to an iOS device.
You don't need to read the stuff below. Long story short, I keep getting "There was an error trying to install provided app" whenever I try to load a pebble app I made onto my phone. Why is this?
Things I've tried so far
I have an iPhone 6 which connects to my pebble well, and I can load and run apps. I also plugged in my phone to the computer and ran Xcode so I could enable developer mode in the phone itself, and enabled Developer Mode in the pebble app, then Enabled Developer Connections. I am logged in with my same pebble account that I develop things with on cloudpebble.
I tried sending an app to my pebble via cloudpebble, and it worked on the emulator, but when I sent it to my pebble my phone said "There was an error trying to install provided app".
I updated to the most recent iOS and pebble OS. It said "There was an error trying to install provided app".
I tried compiling a c++ project instead. I tried changing the SDK to version 2. I tried running cloudpebble on Safari and Firefox. I tried downloading the pbw file, sending it onto my phone using dropbox, and then running it there.
I went and installed the pebble developer kit on my Mac, and built a project that successfully compiles via pebble install --phone 123.4____ but my phone says "There was an error trying to install provided app".
I was able to compile an app that runs the pebble SDK with swift, and it builds successfully and tries to connect, but isn't able to make any connections.
I uninstalled the pebble app and reinstalled it. I forgot the bluetooth connections, reset my pebble to factory defaults, then reconnected it to my phone.I tried restarting my phone. I made sure to have the pebble app open and on the My Pebble screen before trying to load an app onto it.
None of the above worked.
What am I doing wrong? My phone clearly knows that someone is sending it an app, it's just barfing for some reason and I don't understand why.
I figured out what the problem was - for some reason, the old pebble app no longer functions for developers. I installed the pebble time app and then things worked well.
Related
I developed an app with react native and expo using expo go during development to test. Coming to the end of my project, I want to test my application without expo go in real conditions (need it works offline). I created an IPA that I transferred to my Ipad (IOS 15), but a message appears:
error message: "Unable to install the app. This app cannot be installed because its integrity could not be verified."
I would like to install my application on several IOS devices and start my test phase next week, I'm afraid that it will take too long to go online on the App Store, so I would like to avoid the store, especially since my app is not finished. Is it possible to tell the device to ignore this condition? Do you know another way to install my app on my device? The application must be able to work without connection.
Thanks for your help.
This may be a bit of a silly question but i haven't found a solid answer.
I have created a React Native app which includes making http requests to an external server (https://example.com).
When i plug my iPhone in, connect to wifi and deploy to device it works great. (All certificate signing etc is fine).
Should this app still work on my phone once I have disconnected it from my macbook and/or disconnected it from the same wifi.
It worked initially but then eventually kept crashing on load.
As soon as i plugged it back in and tested it works. Is there a way to keep this app on my device permanently?
No, it won't work. While you're testing it, the application on your phone is loading your React Native JS code bundle from a server running on your computer, normally on http://localhost:8081.
Once the phone loses access to that server, the app on the phone will lose access to that JS bundle and it will crash.
You have to install the app on your phone by creating an IPA (which requires an Apple Developer account), so that the app can be used anytime.
Once I've upgraded and installed Xcode 8, my developing experience with iOS has gone down the gutter. Most frustrating of all is the need to verify the app every time the app is installed from Xcode.
I'm working on simulating data loss so that I can build correct error handling solutions, but when I install the app from Xcode with my device's data connection to off (no wifi, no cellular), Xcode prompts me to verify the app by turning on data connection. This is the case even when I simulate network loss with the network simulator.
I never dealt with this issue in Xcode 7.
Due to this issue, I'm unable to set breakpoints, work step-by-step troubleshooting, and work with the console when I have no data connection.
Is there something that'll verify an app forever, once and for all? I'm not deleting the app from my iPhone 7 each time I install the app. I'm just pressing the play button from Xcode like I always used to.
Thanks for your help.
So I have tried everything and am currently beating my head against the desk. I am using trigger.io to generate apps for both android and ios. The android apps work just find and I am able to distribute with MDM as needed. The ios app on the other hand just keeps throwing the error " could not be installed at this time."
I have generated and regenerated my certificates/profiles using the documentation provided and still nothing. Can anyone shed some light on this?
Thanks!
Bill
There are a number of additional things you can check:
Is Xcode up to date? Use the App Store to check for updates and install any updates if required.
Do you have the relevant iOS SDK installed in Xcode? Open up Xcode, go to Preferences and check the "Downloads" tab. Install any missing components that are required by your application (e.g. the supported iOS version needed for your app).
Does your iOS device support the minimum iOS version required by your application? Make sure you are running the minimum supported iOS. A difference in the installed version and the build version could be preventing install.
Does "Development Mode" need to be enabled on your device? Use Xcode > Window > Devices to see if Development Mode needs to be installed on your device. This will install some debugging tools to your device but won't affect any existing apps.
Check that your device is trusted with the computer you are using. Disconnect the USB cable and reconnect. You may be prompted on both the device and computer to "trust" each other.
Unlock your device with passcode and try running the app again to see if that makes a difference.
Hopefully one of these is your issue. Please comment if any of these helped.
When using trigger.io toolkit, there's an option that says
"Build and immediately run your app, either locally, on a simulator or on a connected device."
How do you run the app on a Connected Device? I want to see the app on my iPhone and see how it behaves directly. Is this possible?
Thanks
Marc
I'm going to assume you're working on windows with an iPhone that's iOS8 because that's where you currently can't run your app directly on a connected device.
What we did to "fix" this is creating a Development Provisioning Profile with the UDID's of our test devices and added this to config -> tools in the trigger.io toolkit. In the forge you now select package -> iOS giving you a .ipa file. This .ipa can now be installed using iTunes on your test devices.
It's a bit longer than just clicking run on device like you can for Android but at least you don't have to send it to testflight and wait for apple's approval.
This is possible but it depends on your os.
If your on a Mac you can deploy to both ios and android devices from forge, just connect them via usb and build, grated you need to make sure iTunes sees your devices etc.. there are guides on the trigger site
If you are on Windows, you are unfortunate out of luck right now, this used to work but ios8 broke this so if your building on ios7 you could still do it on Windows, otherwise you would need to use testpiolet from apple