How to import created a Xcode project in iPhone? - ios

i am created and successfully running a some project in Xcode from Mac.I am thought to this project was running in my iPhone.How to i am import this Xcode project from iPhone.Please help me

If you have Apple Developer Account, then:
1- You need to create few certificates, get info from Distributing iOS Apps With iTunes Connect
If you don't have developer account, then you would have to purchase from Apple Developer Program for iOS
Otherwise it will not be possible to run it on real devices, you can just check your app on simulator.
Read this detailed tutorial on How to Test Your App on an iOS Device

Connect phone via usb and wait umtil Xcode detects it. Then play app.
If you want to import an ipa file, to execute in another device, create a cert with imei of the phone, archive the app and import it. Further info here.

Related

How can I use my IOS app without codesign on my iphone?

I am pretty new to IOS development and I am trying to just use the app personally first on my own. I found this site:
https://www.diawi.com/
Which let you use your app on your phone without all the hassle. The only thing is that I am getting this error when trying to upload my .ipa file.
Missing embedded mobileprovision
I am using https://www.codemagic.io/ to build the .ipa file from my project, because I have no Mac on hand. This is the command it is executing:
flutter build ios --release --no-codesign --split-debug-info=/
As you can see I am using --no-codesign in the flutter build, because you need to have an certificate from apple to use codesign. However, I am not interested, at least for now, to use my app commercially. I just want to use it for myself on my iphone.
Is this possible? If so, how?
Btw, I only use windows.
You can install only signed apps on a physical device. Doesn't matter if it's yours or someone else app.
This makes possible for Apple to cancel your certificate and delete the app from any device in a case the app is breaking a rules of Apple.
Apple has a free option for developers with Apple ID. Just go to Xcode -> Preferences -> Accounts -> Left pane, bottom menu tools bar and click "+" button.
More details from Apple website source
You can learn how to develop apps for Apple platforms for free without
enrolling. With just an Apple ID, you can access Xcode, software
downloads, documentation, sample code, forums, and Feedback Assistant,
as well as test your apps on devices. If you don’t already have an
Apple ID, you can create one here. To distribute apps, join the Apple
Developer Program.
You have to have a signed IPA to install it on your device. For that you need to have an Apple Developer Account.
In my case I do not use Codemagic but Appollo a similar tool. To be able to test the app on my device I do the following (after setting Appollo up) :
appollo build start --build-type ad-hoc
appollo build ipa
and then you just have to send the link you get to your iPhone to install the app on your device.
Or if you want to test in TestFlight run
appollo build start --build-type publication
and then in App Store Connect publish your test flight app.
I suppose there is such a functionality in codemagic too.

Can I archive an Apple TV App without owning an actual device?

I have just finished building an Apple TV app, which runs on the simulator fine.
I am now trying to Archive it, and I am getting the following error:
There are no devices registered in your account on the developer website.
Plug in and select a device to have Xcode register it.
Does this mean that I have to have an actual Apple TV connected to my computer before I can Archive this app?
Thanks for your help!
As #LinusGeffarth told, you need to select any tvOS device to build.

How can I test my app without iOS using Xcode

I want to make some test with apple connect but I don't know if I need iPhone for this?
After want to connect Xcode with my developer account, I got## Heading ##:
Failed to create provisioning profile There are no devices registered in your account on the developer website.
What device? I don't have iPhone, but I have mac.
App works on simulator and app need to upload and then send on my team.
How can i do this without iPhone?
Regards

Is it possible to build Flutter iOS release app and push to Firebase App Distribution without iOS device?

Developing an Android/iOS app with Flutter, i'm trying to let my iOS users donwload my app by uploading it on Firebase App Distribution.
But when i try to build release iOS app, it asks a provisioning profiles. I've done a App ID, the certificated developer, but it seems to need a device ID too. I don't have an iOS device but i only want a release .ipa.
I understand that i have to sign the app, but i don't have or want to run it now on a iOS device as I just want to upload it on Firebase App Distribution. I test my app on a iPhone simulator and it works very well.
Is there a solution to just build and push the app ?
(I also tried the tricks by zipping it and change extension... and it doesn't work too)
edit:
Create provisioning profile without physical device (archiving for TestFlight testing)
I found someone else who had quite the same issue, but 4 years ago, hope somethings changed
No it's not possible, when creating a provisioning profile you need to select which devices to include in the provisioning profile. Therefore you need to get the udid of each device so they can open the application in that device.

Is it possible to automate an app downloaded from the App Store using Appium?

I am trying to automate my company's app, downloaded from App Store, on a real hardware device (iPhone) using Appium.
Looking for help. I have tried:
Download appium 12.2
installed ios-webkit-remote-debugger
Downloaded the app from app store
Connected the iPhone with Mac
Entered the UDID and BundeID and Forced Device as iPhone and click on Launch.
Server started successfully but not able to launch the apium inspector.
You are not able to automate a build downloaded from the App Store.
For Instruments/Appium to connect to the application on a real device you need to....
Have the .ipa file signed with a "Development" certificate that includes the UDID of the target device
You can not use a "Distribution" certificate, which is what all App Store builds are signed with
Source: I spent the last two days on this. I need to update the Appium documentation.

Resources