Error while installing Salesforec Mobile sdk for IOS - mobile

Hii all,
I want to install salesforce mobile sdk in my mac machine.And I have found the way to install it from the link given below.https://github.com/forcedotcom/SalesforceMobileSDK-iOS
But while installing via ./install.sh I am getting an error as show below
[exec] Undefined symbols for architecture i386:
[exec] "_ABAddressBookCreateWithOptions", referenced from:
[exec] anon in SalesforceHybridSDK(SalesforceHybridSDK)
[exec] anon in SalesforceHybridSDK(SalesforceHybridSDK)
[exec] anon in SalesforceHybridSDK(SalesforceHybridSDK)
[exec] anon in SalesforceHybridSDK(SalesforceHybridSDK)
[exec] "_ABAddressBookRequestAccessWithCompletion", referenced from:
[exec] anon in SalesforceHybridSDK(SalesforceHybridSDK)
[exec] ld: symbol(s) not found for architecture i386
[exec] clang: error: linker command failed with exit code 1 (use -v to see invocation)
[exec]
[exec]
[exec] ** BUILD FAILED **
[exec]
[exec]
[exec] The following build commands failed:
[exec] Ld sfdc_build/artifacts/Simulator/Applications/VFConnector.app/VFConnector >normal i386
[exec] (1 failure)
BUILD FAILED
/Users/qbadmin/SalesforceMobileSDK-iOS/hybrid/SampleApps/VFConnector/sfdc_build /build.xml:34: The following error occurred while executing this line:
/Users/qbadmin/SalesforceMobileSDK-iOS/hybrid/SampleApps/VFConnector/sfdc_build>>/build.xml:41: The following error occurred while executing this line:
/Users/qbadmin/SalesforceMobileSDK-iOS/shared/build.xml:125: exec returned: 65
What should I do for fixing this.Please help me if anyone could.

It was because of earlier version of IOS and Xcode.It solved my issue when I updated both.
Thanks.

Related

zookeeper 3.6.2 c client compile failed

I downloaded the 3.6.2 source tarball (apache-zookeeper-3.6.2.tar.gz, sha512sum: 16994067d460a1b6af6a71f3458c64ee32629e876a1ff6646d57be62f1a5adab57462af84074ecaded4186dd3fde035ee24cd9d578b8e5044073eb05f4ab9c3e) from apache zookeeper website. Tried to compile its C client in a debian 10 OS.
In dir zookeeper-client/zookeeper-client-c, I ran "autoreconf -if" and "./configure --enable-debug". configure complained about "configure: error: jute files are missing! Please run "ant compile_jute" while in the zookeeper top level directory."
But then tried to run "ant compile_jute" at the top dir. complained about "Buildfile: build.xml does not exist!". Did some search and tried "mvn -pl zookeeper-jute compile" at the top dir. But still have some error. Can anyone know how to solve the issue? Thanks,
xing#debian10-dev ~/d/apache-zookeeper-3.6.2> mvn -pl zookeeper-jute compile
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO]
[INFO] ----------------< org.apache.zookeeper:zookeeper-jute >-----------------
[INFO] Building Apache ZooKeeper - Jute 3.6.2
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) # zookeeper-jute ---
[INFO]
[INFO] --- mavanagaiata:0.9.4:commit (find-current-git-revision) # zookeeper-jute ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.299 s
[INFO] Finished at: 2021-03-20T23:07:23-07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.koraktor:mavanagaiata:0.9.4:commit (find-current-git-revision) on project zookeeper-jute: Unable to read Git commit information: Commit "24e9d01f1321d22f1eef2a3fc0f1b3d68f68d12c" could not be loaded. Short read of block. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Updated on 3/21:
The instructions coming with README (run "ant compile_jute" at top level dir and then "autoreconf -if; ./configure --enable-debug" in dir zookeeper-client/zookeeper-client-c) seem to work for version 3.5.9. I have switched to use that version while waiting for them to update the README for 3.6.2.

crosstool-ng download toolchain component tarball 'automake' failed

I tried to ct-ng build the rpi3 config with Docker in MacOSX.
The version of crosstool-ng is 1.24.0
And there are error messages:
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20200508.202746
[INFO ] Building environment variables
[EXTRA] Preparing working directories
[EXTRA] Installing user-supplied crosstool-NG configuration
[EXTRA] =================================================================
[EXTRA] Dumping internal crosstool-NG configuration
[EXTRA] Building a toolchain for:
[EXTRA] build = x86_64-pc-linux-gnu
[EXTRA] host = x86_64-pc-linux-gnu
[EXTRA] target = armv8-rpi3ubuntu-linux-gnueabihf
[EXTRA] Dumping internal crosstool-NG configuration: done in 0.35s (at 00:04)
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[ERROR] automake: download failed
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_Abort[scripts/functions#487]
[ERROR] >> called from: CT_DoFetch[scripts/functions#2103]
[ERROR] >> called from: CT_PackageRun[scripts/functions#2063]
[ERROR] >> called from: CT_Fetch[scripts/functions#2174]
[ERROR] >> called from: do_companion_tools_automake_get[scripts/build/companion_tools/300-automake.sh#5]
[ERROR] >> called from: do_companion_tools_get[scripts/build/companion_tools.sh#21]
[ERROR] >> called from: main[scripts/crosstool-NG.sh#646]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> https://crosstool-ng.github.io/docs/known-issues/
[ERROR] >>
[ERROR] >> If you feel this is a bug in crosstool-NG, report it at:
[ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR] >>
[ERROR] >> Make sure your report includes all the information pertinent to this issue.
[ERROR] >> Read the bug reporting guidelines here:
[ERROR] >> http://crosstool-ng.github.io/support/
[ERROR]
[ERROR] (elapsed: 0:02.58)
[00:04] / /opt/crosstool-ng/bin/ct-ng:261: recipe for target 'build' failed
make: *** [build] Error 1
I checked the packages file in source of crosstool-ng crosstool-ng-1.24.0/packages/automake/
In package.desc:
repository='git https://git.savannah.gnu.org/git/automake.git'
bootstrap='./bootstrap'
mirrors='$(CT_Mirrors GNU automake)'
relevantpattern='1.*|.'
archive_formats='.tar.xz .tar.gz'
signature_format='packed/.sig'
Is it something wrong with the download url?
How is "download tarball" purpose?
Is it possible use tarball locally that I download it myself?
Thanks for your patience.

Codename one uwp build failed

until yesterday everything was fine, I could build my UWP app and download it from the build server.
From today, without changing anything I get an error:
[exec] Using shared compilation with compiler from directory: C:\Program Files (x86)\MSBuild\14.0\Bin
[exec] src\com\codename1\admob\AdMobNativeImplFactoryImpl.cs(6,20): error CS0266: Cannot implicitly convert type 'com.codename1.admob.AdMobNativeImpl' to 'com.codename1.admob.IAdMobNativeImpl'. An explicit conversion exists (are you missing a cast?) [C:\Users\CODENA~1\AppData\Local\Temp\build8891191631952326639xxx\TestProject\UWPProject\UWPApp\UWPApp.csproj]
[exec] Done Building Project "C:\Users\CODENA~1\AppData\Local\Temp\build8891191631952326639xxx\TestProject\UWPProject\UWPApp\UWPApp.csproj" (default targets) -- FAILED.
[exec]
[exec] Build FAILED.
[exec]
[exec] "C:\Users\CODENA~1\AppData\Local\Temp\build8891191631952326639xxx\TestProject\UWPProject\UWPApp\UWPApp.csproj" (default target) (1) ->
[exec] (XamlPreCompile target) ->
[exec] src\com\codename1\admob\AdMobNativeImplFactoryImpl.cs(6,20): error CS0266: Cannot implicitly convert type 'com.codename1.admob.AdMobNativeImpl' to 'com.codename1.admob.IAdMobNativeImpl'. An explicit conversion exists (are you missing a cast?) [C:\Users\CODENA~1\AppData\Local\Temp\build8891191631952326639xxx\TestProject\UWPProject\UWPApp\UWPApp.csproj]
[exec]
[exec] 0 Warning(s)
[exec] 1 Error(s)
[exec]
[exec] Time Elapsed 00:00:04.94
BUILD FAILED
C:\Users\CODENA~1\AppData\Local\Temp\build8891191631952326639xxx\TestProject\build-win.xml:64: exec returned: 1
does anyone know how to fix?
We released an update that added support for native interfaces for UWP which might have failed for some older stub code generated for the previous Windows versions.
I'm assuming you are using the full screen admob cn1lib?
Please file an issue or a pull request to fix this. We can probably fix it some time next week, if you want it now these are the steps to do the fix yourself:
Checkout the cn1lib sources from github
Delete the files under native/windows
Open the project in NetBeans
Find the interfaces implementing NativeInterface
Right click them and select Generate Native Sources: IMPORTANT answer NO to overwriting existing code
Build and install the library
Extra credit:
Commit the change and submit a pull request for that and ideally fork http://github.com/codenameone/CodenameOneLibs/ and submit the updated library there.

Generate Sencha Touch App Failed

I'm having problem generating new Sencha Touch application. I already downloaded the Sencha SDK, Ruby and Sencha CMD. When I use sencha the sencha version and help are printed.
When I use the ff command to generate Sencha Touch application I encountered Build Failed:
sencha -sdk [sencha sdk location] generate app -name MyApp -path [project location]
Issue:
Sencha Cmd v5.0.1.231
[INF] Processing Build Descriptor : default
[INF] Loading app json manifest...
[ERR] Failed to resolve dependency Ext.app.Application for file MyApp.app.$Application
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application
[ERR] at org.apache.tools.ant.Project.e
[ERR] xecuteSortedTargets(Project.java:1399)
[ERR]
[ERR] Total time: 1 second
[ERR]
[ERR] BUILD FAILED
[ERR] (installation dir)\bin\Sencha\Cmd\5.0.1.231\plugin.xml:303: The following error occurred while executing this line:
[ERR] (installation dir)\bin\Sencha\Cmd\5.0.1.231\plugins\touch\2.3\plugin.xml:334: The following error occurred while executing this line:
[ERR] (installation dir)\workspace-sencha\.sencha\app\build-impl.xml:373: The following error occurred while executing this line:
[ERR] (installation dir)\workspace-sencha\.sencha\app\init-impl.xml:258: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application
[ERR] at sun.reflect.GeneratedMethodAccesso
[ERR] r23.invoke(Unknown Source)
[ERR]
[ERR] Total time: 5 seconds
[ERR] The following error occurred while executing this line:
(installation dir)\bin\Sencha\Cmd\5.0.1.231\plugins\touch\2.3\plugin.xml:334: The following error occurred while executing this line:
(installation dir)\workspace-sencha\.sencha\app\build-impl.xml:373: The following error occurred while executing this line:
(installation dir)\workspace-sencha\.sencha\app\init-impl.xml:258: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : Ext.app.Application
I'm already 3 days on this, not sure if I miss something.
Thanks in advance!
try use -d option to see more detail first
sencha -d -sdk [sencha sdk location] generate app -name MyApp -path [project location]

dyld: Symbol not found: __ZTISt9exception

I've deployed my application on iOS 7 and iOS6 device using xcode5.0. When I run on iOS6 and my application crashes. When I get the crash log, I've the following error :
Dyld Error Message:
dyld: Symbol not found: __ZTISt9exception
Referenced from: /var/mobile/Applications/86566E4B-B2E1-4691-BF65-2AE486EF247F/Sample.app/Sample
Expected in: /usr/lib/libc++abi.dylib
in /var/mobile/Applications/86566E4B-B2E1-4691-BF65-2AE486EF247F/Sample.app/Sample
But I've successfully run on iOS7.
How can I solve this ?
Thanks
Change Deployment Target 7 into 6.1

Resources