iOS Question Error: ** BUILD FAILED ** when using iUI8 / SOLVED

Cadenzo

Active Member
Licensed User
Longtime User
When implementing the iUI8 librarie I get this error:

In file included from /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_frmitemcon.m:2:
In file included from /Users/administrator/Documents/UploadedProjects/<user id>/B4iProject/b4i_frmitemcon.h:4:
/Users/administrator/Documents/Libs/iUI8.h:29:36: error: property has a previous declaration
@property (nonatomic, readonly)int SelectedSection;

B4i Version: 5.30
Parsing code. (0.03s)
Building folders structure. (0.04s)
Compiling code. (0.24s)
Compiling layouts code. (0.00s)
Compiling debugger engine code. (1.24s)
Building Xcode project (0.12s)
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = armv7
CODE_SIGN_IDENTITY = iPhone Distribution: ...

Error: ** BUILD FAILED **


The following build commands failed:
CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/armv7/b4i_frmgames.o B4iProject/b4i_frmgames.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)

I have iPhone 5 Version 10.3.3 (14G60)
What is strange: When I remove the iUI8, it works. And the CustomDialogExample, also with that lib, I can compile without problems. I am using the hosted builder.
 
Last edited:

Cadenzo

Active Member
Licensed User
Longtime User
Yes, I did it. This is not the reason.
could this be a hint? /Libs/iUI8.h:29:36: error: property has a previous declaration
 
Upvote 0

Cadenzo

Active Member
Licensed User
Longtime User
Now I uploaded the log. In Main I have declared:
B4X:
'Code module
#Region  Project Attributes
    #ApplicationLabel: AppAssionato
    #Version: 1.0.0
    'Orientation possible values: Portrait, LandscapeLeft, LandscapeRight and PortraitUpsideDown
    #iPhoneOrientations: Portrait, LandscapeLeft, LandscapeRight
    #iPadOrientations: Portrait, LandscapeLeft, LandscapeRight, PortraitUpsideDown
    #Target: iPhone, iPad
    #ATSEnabled: True
    #MinVersion: 8
The lines in the attached log, which could be in my opinion a hint:
41: /Users/administrator/Documents/Libs/iUI8.h:23:1: error: duplicate interface definition for class 'B4ITableView'
46: /Users/administrator/Documents/Libs/iTableView.h:17:12: note: previous definition is here
51: /Users/administrator/Documents/Libs/iUI8.h:25:36: error: property has a previous declaration
61: /Users/administrator/Documents/Libs/iUI8.h:27:46: error: property has a previous declaration
71: /Users/administrator/Documents/Libs/iUI8.h:29:36: error: property has a previous declaration
...
630: fatal error: too many errors emitted, stopping now [-ferror-limit=]
631: 20 errors generated.

Really hope, this helps for detecting the main error.
 

Attachments

  • err_2018_10_14.txt
    66 KB · Views: 156
Upvote 0
Top