iOS Question [Solved] Application only for IPAD

yves67

Active Member
Licensed User
Longtime User
Hello,
I am trying to compile and run the MyFirstProgram to run only on IPAD
I have put a #target: Ipad statement in the #Region
and of course my IPAD3_IPCS iclude only 3 IPAD's

why the IDE is trying to build for an Iphone ?

follow is the error:

B4i version: 3.60
Parsing code. (0.00s)
Compiling code. (0.04s)
Compiling layouts code. (0.00s)
Compiling debugger engine code. (0.64s)
Building Xcode project (0.03s)
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = armv7
CODE_SIGN_IDENTITY = iPhone
CONFIGURATION_BUILD_DIR = /Users/osx/Documents/B4iBuildServer/UploadedProjects/<user id>/Payload
OTHER_CODE_SIGN_FLAGS = --keychain <user id>
PRODUCT_NAME = MyFirstProgram
PROVISIONING_PROFILE = 2069f09f-79f9-4352-98ec-e33df6a3372b

=== BUILD TARGET B4iProject OF PROJECT B4iProject WITH CONFIGURATION Release ===

Check dependencies
Provisioning profile "IPAD3_IPCS" doesn't include signing certificate "iPhone Distribution: yves vouin (868ASLE39G)".
Code signing is required for product type 'Application' in SDK 'iOS 10.2'


Error: ** BUILD FAILED **


The following build commands failed:
Check dependencies
(1 failure)
 

yves67

Active Member
Licensed User
Longtime User
VERY Strange
It was working yesterday, I didn't touch at the certificates and today it's fail....
I will redo the certificates
It is painfull.... android is much easier...
 
Upvote 0

yves67

Active Member
Licensed User
Longtime User
Hello
I have rebuilt all the certificates and it is working

I have in my key folder :
ios_development.cer
ios_distribution.cer
IPCS_Development.mobileprovision
IPCS_Distribution.mobileprovision

and in the B4i program :

#Region Project Attributes
#ApplicationLabel: MyFirstProgram
#Version: 1.0.0
'Orientation possible values: Portrait, LandscapeLeft, LandscapeRight and PortraitUpsideDown
'#iPhoneOrientations: Portrait, LandscapeLeft, LandscapeRight
#iPadOrientations: Portrait, LandscapeLeft, LandscapeRight, PortraitUpsideDown
#Target: Ipad
#CertificateFile: ios_distribution.cer
'#CertificateFile: ios_development.cer
'#ProvisionFile: IPCS_Development.mobileprovision
#ProvisionFile: IPCS_Distribution.mobileprovision
#End Region

Now I run Build Release App

it is ok

I got :

Application compiled with non-store provision profile.
Completed successfully.
Make sure that B4i-Bridge is started (192.168.1.51).
Manually launch the app after installation.

but now I am stuck... I need again your help

How can I install this application manually ?

THANKS a lot

Yves
 
Upvote 0

yves67

Active Member
Licensed User
Longtime User
OK Ifound it to install via the bridge

Now last question :
Because I have several Ipad's, and I don't want to install the B4i_Bridge on all these Ipad's How can I install the ipa without the bridge ??

Thanks for your help
Yves
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
if you have added those devices' uids to provision file you can do it easily. Just navigate to serverip:51041/youruseridforhostedbuilder and there will be a button to install the app. ( I am presuming you are using hosted builder )
OK Ifound it to install via the bridge

Now last question :
Because I have several Ipad's, and I don't want to install the B4i_Bridge on all these Ipad's How can I install the ipa without the bridge ??

Thanks for your help
Yves
 
Upvote 0

yves67

Active Member
Licensed User
Longtime User
Thanks for your message
NO, I m using the local builder
but after reading your message, I tried use safari with : <local ip macbook>:51041 and, like the B4I_Bridge, I have a button to install the application
I can install the application, but the local buider machine should be accessible (local or remote)
Is there another solution, like sending the ipa file via email, or put the ipa file on the icloud ?
I am not an Apple specialist...
Thanks for any help
Regards
Yves
 
Upvote 0

yves67

Active Member
Licensed User
Longtime User
OK, thanks for your answer
I will try these solutions
I have try with Syncios, but I got echec with no explanation....
To install a release application I must use the ad hoc certicates ? and buid a relase app ?
correct ?

thanks
yves
 
Upvote 0

tufanv

Expert
Licensed User
Longtime User
OK, thanks for your answer
I will try these solutions
I have try with Syncios, but I got echec with no explanation....
To install a release application I must use the ad hoc certicates ? and buid a relase app ?
correct ?

thanks
yves
Correct. If you plan to release to appstore you must change from adhoc to appstore .
 
Upvote 0
Top