iOS Question App cannot be installed on iPhone

Tomas Petrus

Active Member
Licensed User
Longtime User
Hi,

I have app with webview which is copy of app that I have on appstore already. So problem with code is impossible. Everything seems ok, certificate, provision profile etc. (compiled-debug.png), but my phone can't download and install app (phone-error.png). It is in czech language. Text is:
"App cannot be downloaded
App "name" cannot be installed
Done | Try again
"
What I am doing wrong? Thanks for answer.

there is code:
B4X:
#Region  Project Attributes
   #ApplicationLabel: name
   #Version: 1.0
   #iPhoneOrientations: Portrait, LandscapeLeft, LandscapeRight
   #iPadOrientations: Portrait, LandscapeLeft, LandscapeRight, PortraitUpsideDown
#End Region

Sub Process_Globals
   Public App As Application
   Public NavControl As NavigationController
   Private Page1 As Page
   Private wv As WebView

End Sub

Private Sub Application_Start (Nav As NavigationController)
   NavControl = Nav
   Page1.Initialize("Page1")
   Page1.RootPanel.LoadLayout("WebView")
 
   Page1.RootPanel.Color = Colors.White
   NavControl.ShowPage(Page1)
   NavControl.NavigationBarVisible = False
   
End Sub

Private Sub Page1_Resize(Width As Int, Height As Int)
   Dim naob As NativeObject = wv
   naob.GetField("scrollView").SetField("showsHorizontalScrollIndicator", False)
   naob.GetField("scrollView").SetField("showsVerticalScrollIndicator", False)

   wv.LoadUrl("http://..../")
   wv.Width = 100%x
   
End Sub
 

Attachments

  • compiled-debug.png
    compiled-debug.png
    26.3 KB · Views: 262
  • phone-error.PNG
    phone-error.PNG
    71.5 KB · Views: 286

Albi

Active Member
Licensed User
Longtime User
perhaps the same name is causing a problem if you already have it installed on your phone from the app store. try changing the package name in the build configurations?
 
Upvote 0
Top