Other B4i v2.0 BETA has been released

Erel

B4X founder
Staff member
Licensed User
Longtime User


I'm happy to release the first beta version of B4i v2.00. This is a major update with many important improvements.
B4i is now based on the new IDE with the same advanced features as B4A v5.0 and B4J v3.0: https://www.b4x.com/android/forum/threads/b4a-v5-00-has-been-released.54653/

Other improvements:

Requirements


- Microsoft .Net Framework 4.0+ is required. If you are running Windows XP then you should install .Net Framework 4.0: https://www.microsoft.com/en-us/download/details.aspx?id=17851

- Developers running Vista or above should install .Net Framework 4.5.2: https://www.microsoft.com/en-us/download/details.aspx?id=42642

- Developers using a local builder should update the builder to v2.0 and use Xcode 6.3+.

Users who are eligible for a free upgrade should receive an email with the download links.

This is a beta version. Make sure to backup your projects before loading them in the new version.
You can install B4i v2.0 in a different folder and keep both versions.

Thank you for your help with the development of B4X tools

V2.00 beta 3: https://www.b4x.com/android/forum/threads/b4i-v2-0-beta-has-been-released.55712/page-2#post-350922
 
Last edited:

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
I get error when run project on ios simulator state
B4i version: 2.00 BETA 2
Parsing code. (0.00s)
Compiling code. (0.07s)
Compiling layouts code. (0.00s)
Compiling debugger engine code. (1.33s)
Building Xcode project (0.01s)
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = i386
CODE_SIGNING_REQUIRED = NO
CONFIGURATION_BUILD_DIR = /Users/omid/UploadedProjects/default/Payload
PRODUCT_NAME = B4i Example
SDKROOT = iphonesimulator8.2

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

Check dependencies

Write auxiliary files
/bin/mkdir -p /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build
write-file /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-all-target-headers.hmap
write-file /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-all-non-framework-target-headers.hmap
write-file /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-project-headers.hmap
/bin/mkdir -p /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386
write-file /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/B4i\ Example.LinkFileList
write-file /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example.hmap
write-file /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-generated-files.hmap
write-file /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-own-target-headers.hmap

Create product structure
/bin/mkdir -p /Users/omid/UploadedProjects/default/Payload/B4i\ Example.app

ProcessInfoPlistFile Payload/B4i\ Example.app/Info.plist B4iProject/B4iProject-Info.plist
cd /Users/omid/UploadedProjects/default
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/omid/Documents/Software/eclipse/android-sdk-macosx/platform-tools"
builtin-infoPlistUtility /Users/omid/UploadedProjects/default/B4iProject/B4iProject-Info.plist -genpkginfo /Users/omid/UploadedProjects/default/Payload/B4i\ Example.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -o /Users/omid/UploadedProjects/default/Payload/B4i\ Example.app/Info.plist

CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/main.o B4iProject/main.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/omid/UploadedProjects/default
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/omid/Documents/Software/eclipse/android-sdk-macosx/platform-tools"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fm-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.2.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=7.0 -iquote /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/omid/UploadedProjects/default/Payload/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/i386 -I/Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/omid/UploadedProjects/default/Payload -F../../Libs -MMD -MT dependencies -MF /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/main.d --serialize-diagnostics /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/main.dia -c /Users/omid/UploadedProjects/default/B4iProject/main.m -o /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/main.o
/Users/omid/UploadedProjects/default/B4iProject/main.m:11:9: fatal error: 'iCore.h' file not found
#import "iCore.h"
^
1 error generated.

CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_main.o B4iProject/b4i_main.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/omid/UploadedProjects/default
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/omid/Documents/Software/eclipse/android-sdk-macosx/platform-tools"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch i386 -fm-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.2.sdk -fexceptions -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch -mios-simulator-version-min=7.0 -iquote /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-generated-files.hmap -I/Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-own-target-headers.hmap -I/Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-all-target-headers.hmap -iquote /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/B4i\ Example-project-headers.hmap -I/Users/omid/UploadedProjects/default/Payload/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources/i386 -I/Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/DerivedSources -F/Users/omid/UploadedProjects/default/Payload -F../../Libs -MMD -MT dependencies -MF /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_main.d --serialize-diagnostics /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_main.dia -c /Users/omid/UploadedProjects/default/B4iProject/b4i_main.m -o /Users/omid/UploadedProjects/default/build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_main.o
In file included from /Users/omid/UploadedProjects/default/B4iProject/b4i_main.m:2:
/Users/omid/UploadedProjects/default/B4iProject/b4i_main.h:1:9: fatal error: 'iCore.h' file not found
#import "iCore.h"
^
1 error generated.


Error: ** BUILD FAILED **


The following build commands failed:
CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/main.o B4iProject/main.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build/B4iProject.build/Release-iphonesimulator/B4iProject.build/Objects-normal/i386/b4i_main.o B4iProject/b4i_main.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
 
Upvote 0

tucano2000

Active Member
Licensed User
Longtime User
Erel, projects that use accent in the name compiles but does not install.It took long time to discover that this was the reason. Perhaps a message from compiler help if iOS does not allow.
 
Last edited:
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
@Haris Hafeez the variants issue is fixed for the next update. Thank you for reporting it.

Erel, projects that use accent in the name compiles but does not install.It took long time to discover that this was the reason. Perhaps a message from compiler help if iOS does not allow.
I'm unable to reproduce it. Are you referring to #ApplicationLabel or to something else?

@omidaghakhani1368 please start a new thread for this.
 
Upvote 0

LWGShane

Well-Known Member
Licensed User
Longtime User
Upvote 0

tucano2000

Active Member
Licensed User
Longtime User
@Haris Hafeez the variants issue is fixed for the next update. Thank you for reporting it.


I'm unable to reproduce it. Are you referring to #ApplicationLabel or to something else?

@omidaghakhani1368 please start a new thread for this.

Yes Erel. #ApplicationLabel: TRÂNSITO -> compiles but device show message Unable connect to device xxx.xxx.xxx.xxx because of Â. if I use TRANSITO no problem.

In my country Brazil, in portuguese, TRÂNSITO means TRAFFIC.
 
Last edited:
Upvote 0

LWGShane

Well-Known Member
Licensed User
Longtime User
Upvote 0

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
Erel i cannot save project or open and i force double click on project for open with b4i2
 
Upvote 0

tucano2000

Active Member
Licensed User
Longtime User
Hi Erel. Using B4i 2.0 Beta 2, this new issue happens when I try compiles my project in local mac builder, Build Release Mode to my device. If I use simulator no problem. In Debug mode Simulator and Device no problem.

In Hosted Mac, Debug and Release Mode no problem.

Why connection to the simulator verification service could not be established ? my connection was with the device. I do download of Simulator iOS 7.1 and 8.1.

...

../../Libs/libCore.a(B4I.o)
../../Libs/libCore.a(B4ICommon.o)
duplicate symbol l041 in:
../../Libs/libCore.a(B4IViewWrapper.o)
../../Libs/libCore.a(B4ILayoutBuilder.o)
duplicate symbol l042 in:
../../Libs/libCore.a(B4IViewWrapper.o)
../../Libs/libCore.a(B4ILayoutBuilder.o)
duplicate symbol l020 in:
../../Libs/libCore.a(B4IDateTime.o)
../../Libs/libCore.a(B4ICanvas.o)
duplicate symbol l021 in:
../../Libs/libCore.a(B4IDateTime.o)
../../Libs/libCore.a(B4ICanvas.o)
duplicate symbol l021 in:
../../Libs/libCore.a(B4IDateTime.o)
../../Libs/libCore.a(B4IMediaPlayer.o)
ld: 6 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)


Error: 2015-07-07 02:21:07.198 xcodebuild[2157:12727] [MT] iPhoneSimulator: SimVerifier returned: Error Domain=NSPOSIXErrorDomain Code=53 "Simulator verification failed." UserInfo=0x7fbd951ca7d0 {NSLocalizedFailureReason=A connection to the simulator verification service could not be established., NSLocalizedRecoverySuggestion=Ensure that Xcode.app is installed on a volume with ownership enabled., NSLocalizedDescription=Simulator verification failed.}
** BUILD FAILED **


The following build commands failed:
Ld build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/INFRANOTE normal arm64
(1 failure)
 
Last edited:
Upvote 0

omidaghakhani1368

Well-Known Member
Licensed User
Longtime User
There was another user who encountered this error. It was solved when he reinstalled the latest .Net Framework.
I install version 4.5.2(last version) but not happen when click on open or save project
I change project and select new project then ask for save and i accept but show below msgbox
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…