I build one .ipa after using Xcode archive then distribute as ad hoc
Normally I copy this to a real ios device but today it is failing, says "failed to install"
The problem is that using xcode -> window -> Devices and simulators
does not show me the running simulator.
I have one running ios simulator but i cannot see it there so don't know how to copy my ipa into it
It is my understanding that .ipa's are only meant for physical devices. For the simulator I think you need to use the .app file. You might have to unzip something first.
Hope it helps
Related
I'm trying to launch an .app build on iOS simulator for automation purposes. My steps:
Download an .ipa file from app distribution resource
Unzip .ipa and get .app bundle from Payload folder
Simply drag and drop the .app bundle on the running simulator
And.. when I try to launch the .app this simply crashes. I'm not seeing any logs though. Funny thing is that my teammate is doing this successfully and the only difference between our machines is that my one is on M1 chip and hers is on Intel.
I've also tried to check the box "Open with Rosetta" with no success.
versions:
macOS Monterey 12.0.1,
xcode and simulator 13.1
Any ideas what I'm doing wrong here?
I have downloaded an .ipa file from an iOS developer for our project.
I need to test the app on my simulator because I don't have a physical device, but I don't know how to.
how to install the .ipa file to XCode iOS Simulator? I have been read the difference between emulator and simulator, which the .ipa only able installed on real device and emulator while the .app only able installed on simulator. The emulator also mimic the real device's hardware and software while simulator only mimic the software and interface. If those differences above are true, does anyone know how to convert the .ipa to working .app file? I have been tried changed the .ipa to .zip by rename it then extract it and last, drag and drop the .app file (in the payload folder after extracted) to my simulator but failed, the message is "Please update the app". I also tried the command xcrun simctl install but failed. Currently, I am using the Mac with Big Sur and XCode 12. I can't download the project because the project size is very big and my internet too slow for download it, Thank you all
Since you have the ability to run the simulator, You have the ability to have Xcode installed.
Rather than have the developer send you the IPA file, you could get access to the source code for your project (usually this is on a Git service provider) download the source and build the app to the simulator directly.
In a well set up project it shouldn't be hard to clone the repository, maybe run some configuration, then open Xcode and build to the simulator
I have the same problem, and refer to that link before. it seems noway but to buy an iphone test device...
I have a .ipa file. I want to run the iOS App on the iOS Simulator on my mac. Would appreciate if anyone could please let me know how can I run .ipa file on iOS Simuilator? Thanks!
The iOS Simulator is not an emulator, so ARM-compiled IPAs for iOS devices won’t run on Intel Macs.
If you have an M1 ARM Mac, you can run iOS apps officially on macOS. You might be able to copy the .app bundle inside the IPA (it’s just a zip) to the simulator’s Applications folder, but I don’t have an M1 Mac to try.
I wanted to setup iOS testing on simulator on my MacBook-pro. Im using appium 1.6 and Xcode 8 and iOS 10.1 as simulator OS. I ran my appium server and set the desired capabilities and used an .ipa from the app store and it crashes on launch while doing an inspect on appium. Is it happening because i don't have a app signed for development? what are the requirements for the app to be tested for using? Do i need signed apps to be used for testing on simulator too ?
You can create a .app file useing the belowing instruction:
1- Go to:
xcode > File > New Project > (select ios at top bar) select Tabbed Application > click Next > give project name and select swift as language and complete process.
2- Open the project and run it. After running the app in the simulator, you will find the project .app file in the product folder (expand your project in xcode > product.
you can use this .app file for your appium test.
3- You can also get a lot of free .xcode project on the web. download this project, open the .xcodeproj or .xcworkspace file in xcode and run it. you will find the .app file in the product folder
if you want to run your ios app in the simulator, you need a .app file, not .ipa file. The .ipa file runs on the device. Try to generate a .app file for simulator.
Yes, you need apps to be signed with a developer provisiioning profile. You can use the iresign to do it. you should input your ipa file developer provisioning file(contact your dev) and click resign. It will output the resigned app
The same dev provisioning file, dev certificate should be installed in your mac from where you run your scripts.
Note: you cannot run .ipa on simulators. you need .app version of the app , for which you need to contact the developer too
I have an app that I want to run on my iPhone. I've code signed it and checked everything multiple times. It builds and then Xcode 4.3 just tells me "Finished running MYAPP on iPhone" -- but nothing happened . The app doesn't even install on my iPhone! Other apps I've made still work fine, even when built in Xcode 4.3.
Perhaps you are missing the armv6 architecture, while building on a armv6 device? Or you did setup required-device-capabilities, that aren't available on the device you are building on.
Try this: Build an archive, export an IPA file, open the Organizer. Drag'n'Drop the IPA onto your device. Here you will get a more detailed error message.