iOS Question [SOLVED] B4i v10 compile error

Tonrad

Member
Licensed User
Hello everyone.
I have upgraded b4i to v10 and am using Hosted Builder.

An error appears when compiling the application:
b4i_transponder.h:16:9: error: 'iPing.h' file not found (in target 'B4iProject' from project 'B4iProject')

If I disable the additional iPing library, then the second error appears:
b4i_googlemapsextra.m:58:9: error: 'iGoogleMaps.h' file not found (in target 'B4iProject' from project 'B4iProject')

I've read several posts, including this one, but I still haven't figured out how to fix these errors.
https://www.b4x.com/android/forum/t...ew-h-and-igooglemaps-h-file-not-found.169372/

I'm asking for help.


The attached files contain complete error logs, if necessary.
 

Attachments

  • Error_iPing.txt
    65.3 KB · Views: 15
  • Error_iGoogleMaps.txt
    120.6 KB · Views: 14

Erel

B4X founder
Staff member
Licensed User
Longtime User
Google Maps should work as-is.
Are you using v10.02:

1775407913907.png
 
Upvote 0

Tonrad

Member
Licensed User
The problem with iGoogleMaps.h has been resolved.

As indicated here
https://www.b4x.com/android/forum/t...ew-h-and-igooglemaps-h-file-not-found.169372/

it was necessary to replace the GoogleMapExtra.bas file, and here I made a mistake. I replaced the file again and the whole problem was solved.

I compared both versions of the GoogleMapExtra.bas file.

There is such a fragment in the old file:
#If OBJC
#import "iGoogleMaps.h"
#import <GoogleMaps/GoogleMaps.h>

In the new file, this fragment looks like this:
#If OBJC
#import <iGoogleMaps/iGoogleMaps.h>
#import <GoogleMaps/GoogleMaps.h>


Next, I was left with an error with the additional iPing library.:
b4i_xuiviewsutils.h:16:9: error: 'iPing.h' file not found (in target 'B4iProject' from project 'B4iProject')

I looked at the contents of the b4i_xuiviewsutils.h file, it contains the following (I cut off the extra text):

#import <iArchiver/iArchiver.h>
#import <iCore/iCore.h>
#import <iGoogleMaps/iGoogleMaps.h>
#import <iHUD/iHUD.h>
#import <iJSON/iJSON.h>
#import <iLocation/iLocation.h>
#import <iNet/iNet.h>
#import <iNetwork/iNetwork.h>
#import <iPhone/iPhone.h>
#import <iRandomAccessFile/iRandomAccessFile.h>
#import <iSQL/iSQL.h>
#import <iStringUtils/iStringUtils.h>
#import <iUI8/iUI8.h>
#import <iXUI/iXUI.h>
#import <xCustomListView/xCustomListView.h>
#import "iPing.h"
#import <AVFoundation/AVFoundation.h>
#import <CoreData/CoreData.h>
#import <CoreLocation/CoreLocation.h>
#import <CoreBluetooth/CoreBluetooth.h>
#import <Accelerate/Accelerate.h>
#import <CoreText/CoreText.h>
#import <GLKit/GLKit.h>
...

Please note that the iPing library is enclosed in different quotation marks than the rest of the files.

Erel, perhaps this is the reason for the problem that it is impossible to connect additional libraries to b4i v10?
Could you check it out?
 
Upvote 0

Tonrad

Member
Licensed User
Erel, thank you for your help.

Now the following error appears:
...
Documents/UploadedProjects/<user id>/Payload/...\ UDID.app/...\ UDID
ld: library 'iPing' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: ** BUILD FAILED **


The following build commands failed:
Ld /Users/administrator/Documents/UploadedProjects/<user id>/Payload/...\ UDID.app/...\ UDID normal (in target 'B4iProject' from project 'B4iProject')
(1 failure)

I tried the following steps:
  • Reinstalled B4i
  • Re-downloaded the iPing library to the Additindal Libraries folder
  • Work through a second server (Prefer Secondary)
But the error has not been corrected.
What am I doing wrong?
 

Attachments

  • Error_iPing.zip
    19.6 KB · Views: 7
Upvote 0
Top