iOS Question Bridge app

fishwolf

Well-Known Member
Licensed User
Longtime User
I have created bridge app with B4i ver 2.51, but is not possible install on ipad2 10.3.1
from browser is not available.
what is the problem?
 

fishwolf

Well-Known Member
Licensed User
Longtime User
bridge did not work after the ios update

i have re-install the certificate, compiled bridge, but the page don't show the button for install the app
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
What do you see in the browser page?

i use xcode 7.3
Immagine.jpg
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
update ide and build server to 3.60 version.
the b4i certificate is "verificated"
the error is the same
"don't connect to 192.168.1.222" (ip mac server) when click on install brdge page

i must update also xcode?
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
yes, i have install xcode 8.2

i have discovery that my certificate (provisioning and apn) are expired

i have re-created, but i have this error now

B4X:
Provisioning profile "Basic_dev" doesn't include signing certificate "iPhone Developer: xxxx (nnnnnn)".
Code signing is required for product type 'Application' in SDK 'iOS 10.2'
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
I have fixed the problem with certificate, now i can compile with success

but i cannot install the bridge application, i have used id for hosted builded, but i have the same error.

B4i ver. 4.0 beta can resolved this problem?

Immagine1.png
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
Sorry, i did not understand that with ios 10 it was necessary to authorize the b4i certificate

I have compile the bridge and hello world app.

But i compile the my app with push notification (different provisionig) i have this error

what is T4E58SP997 team?
how to use?

B4X:
B4i version: 3.60
Parsing code.  (0.16s)
Compiling code.  (1.07s)
Compiling layouts code.  (0.02s)
Compiling debugger engine code.  (2.62s)
Building Xcode project  (0.29s)
Sending data to remote compiler.  Error
Out: Build settings from command line:
  ARCHS = armv7
  CODE_SIGN_IDENTITY = iPhone
  CONFIGURATION_BUILD_DIR = /Users/guest/Desktop/Basic4Ios/macserver-aa_Ver_3.60/UploadedProjects/<user id>/Payload
  OTHER_CODE_SIGN_FLAGS = --keychain <user id>
  PRODUCT_NAME = XXXXXX
  PROVISIONING_PROFILE = d11d9e4e-eb33-4ad5-b879-6ebd78b32d48

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

Check dependencies
No certificate matching 'iPhone' for team 'T4E58SP997':  Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning.
Code signing is required for product type 'Application' in SDK 'iOS 10.2'
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
Delete this provision profile and create new one. It looks like there is a mismatch between the provision profile and the certificate.
It's already a new provisioning profile, i have re-created all yestarday.
 
Upvote 0

fishwolf

Well-Known Member
Licensed User
Longtime User
Finaly, i have compiled with success my app, i have copied a old cetificate (ios_development) into key folder, sorry

now when i run the app and get token for push i have this error (also with temporary id for hosted builder)
i have create a new apn certificate today

B4X:
Error getting token: <B4IExceptionWrapper: Error Domain=NSCocoaErrorDomain Code=3000 "non è stata trovata nessuna stringa di autorizzazione “aps-environment” valida per l'applicazione" UserInfo={NSLocalizedDescription=non è stata trovata nessuna stringa di autorizzazione “aps-environment” valida per l'applicazione}>

Private Sub Application_PushToken (Success As Boolean, Token() As Byte)
   
   If Success Then
     Dim bc As ByteConverter
     Dim StringToken As String
     
     StringToken = bc.HexFromBytes(Token)
     Log ("StringToken: " & StringToken)   
   Else
     Log("Error getting token: " & LastException)
   End If

end sub
 
Upvote 0
Top