iOS Question [Solved]Error compiling using Mac Builder

John Naylor

Active Member
Licensed User
Longtime User
B4I 7.8

Testing on an iPhone 6, fully updated with IOS 12.5.5

New B4I user here. I can happily compile and run most samples and even some of my B4XPages apps but I'm struggling with the Simple Media Manager second example (SMM_Example2).

SMM_Example1 compiles and runs fine.

On the hosted Mac builder (and the secondary) I'm seeing


B4i line: 99
sm.CustomView.As(WebView).LoadUrl(Media.Media)
expected expression

I get a failure with 1 error. Full info in attached zip file.

Strangely I was also seeing Error: security: SecKeychainDelete: The specified keychain could not be found but this has now vanished without me changing anything.

Any help greatly appreciated!

[Edit] I just noticed that in B4A, The SimpleMediaManager library shows as 1.08 but in B4I it's showing as 1.07 - Maybe something needs updating somewhere.
 

Attachments

  • error.zip
    3.5 KB · Views: 137
Last edited:

John Naylor

Active Member
Licensed User
Longtime User
I don't understand. Are you running the example as-is?

Which error do you get? You mentioned three different errors.
Yes, running the example as is.

I cannot get it to compile at all - the full log is in the zip file. I see 'Sending data to remote computer' then a huge error message (contained in the zip file).

Searching for the word Error in that file I'm seeing several different errors such as

/Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_smmviews.m:598:88: error: use of undeclared identifier 'WKWebView'
 
Upvote 0
Top