dyld: Symbol not found: __ZTISt9exception - ios6

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

Related

How can i fix "BUILD FAILED" after trying to "ant -deploy"?

I received this "BUILD FAILED" while trying to install EJBCA on UBUNTU 18.04. The following messages appeared below "BUILD FAILED":
/opt/ejbca_ce_6_15_2_1/build.xml:1323: The following error occurred while executing this line:
/opt/ejbca_ce_6_15_2_1/modules/build.xml:260: The following error occurred while executing this line:
/opt/ejbca_ce_6_15_2_1/modules/cesecore-p11/build.xml:16: Compile failed; see the compiler error output for details.
Above the Build Failed message there were a total of 39 "javac" errors, specifying the problem. Some of those are:
jar:
[mkdir] Created dir: /opt/ejbca_ce_6_15_2_1/modules/cesecore-p11/build
[javac] Compiling 1 source file to /opt/ejbca_ce_6_15_2_1/modules/cesecore-p11/build
[javac] /opt/ejbca_ce_6_15_2_1/modules/cesecore-p11/src/sun/security/pkcs11/CESeCoreUtils.java:15: error: package sun.security.pkcs11.wrapper is not visible
[javac] import static sun.security.pkcs11.wrapper.PKCS11Constants.CKA_SENSITIVE;
[javac] ^
[javac] (package sun.security.pkcs11.wrapper is declared in module jdk.crypto.cryptoki, which is not in the module graph)
Others are like:
137: error: cannot find symbol
[javac] if ( e.getErrorCode()==CKR_ATTRIBUTE_READ_ONLY ) {
[javac] ^
[javac] symbol: variable CKR_ATTRIBUTE_READ_ONLY
[javac] location: class CESeCoreUtils
The complete list of errors in this link https://pastebin.com/LMzDhdKn
Most likely you are not using one of the supported JDK versions. In the beginning of your build log (which you haven't pasted here) it prints what java version is used by your system. Make sure this is a supported one (from the EJBCA documentation). Since you are using Ubuntu, I'd recommend installing the OpenJDK 8 packages, and making sure this is used by configuring Ubuntu to use this, with the 'update-java-alternatives' command.
The build log should then print in the beginning that OpenJDK 8 (with some specific build number) is being used.

React Native fbsdk 0.8.0 version crash the RN project for iOS

I am building an application from scratch with the latest version of RN: 0.57.0 after setting up all the configuration. I got this error message in the iOS build:
error: Build input file cannot be found: '/Users/myUser/Documents/myAwesomeProject/node_modules/react-native/third-party/double-conversion-1.1.6/src/cached-powers.cc'
** BUILD FAILED **
The following build commands failed:
CompileC /Users/myUser/Documents/myAwesomeProject/ios/build/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects-normal/x86_64/cached-powers.o /Users/myUser/Documents/myAwesomeProject/node_modules/react-native/third-party/double-conversion-1.1.6/src/cached-powers.cc normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Any ideas what can I do?

Why am I getting an Android Build Error due to issues with Manifest Merger?

IDE: IDEA
OS: Mac High Sierra
Issue: Sending android build, works fine on simulator.
When I attempt to send an android build for my project that runs perfectly in the simulator, I receive this exception in the log (I am using a basic storage plan so size should not be the issue), would love any insight as I am not very experienced with these kinds of errors:
Exception
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':processReleaseManifest'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:103)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:73)
at org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:101)
at org.gradle.api.internal.tasks.execution.FinalizeInputFilePropertiesTaskExecuter.execute(FinalizeInputFilePropertiesTaskExecuter.java:44)
at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:91)
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:62)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:59)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:256)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:249)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:238)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:98)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.execute(DefaultTaskExecutionPlan.java:663)
at org.gradle.execution.taskgraph.DefaultTaskExecutionPlan.executeWithTask(DefaultTaskExecutionPlan.java:597)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.run(DefaultTaskPlanExecutor.java:98)
at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:63)
at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:46)
at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:55)
Caused by: java.lang.RuntimeException: Manifest merger failed with multiple errors, see logs
at com.android.builder.core.AndroidBuilder.mergeManifestsForApplication(AndroidBuilder.java:509)
at com.android.build.gradle.tasks.MergeManifests.doFullTaskAction(MergeManifests.java:150)
at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:109)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73)
at org.gradle.api.internal.project.taskfactory.IncrementalTaskAction.doExecute(IncrementalTaskAction.java:50)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:39)
at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:26)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$1.run(ExecuteActionsTaskExecuter.java:124)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
at org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:113)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:95)
... 30 more
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 12s
11 actionable tasks: 11 executed
Process return code is 1

Appium : Failed to open the application and throwing error Command '/bin/bash Scripts/bootstrap.sh -d' exited with code 1

Environment
Appium version : 1.6.2 (installed through terminal)
Last Appium version that did not exhibit the issue : 1.4.13 (Draco)
OS/version used to run Appium: Mac OS - OS X El Capitan Version : 10.11.6
Mobile platform/version under test: iPad Air iOS 10.1
Device : Simulator
Details
Xcode Version 8.1
Started appium (1.6.2) through Terminal
Ran the script , then I am getting the below error in the error logs
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Command '/bin/bash Scripts/bootstrap.sh -d' exited with code 1 (WARNING: The server did not provide any stacktrace information)
Completely remove the carthage and Reinstall it again.

Which SDK and Build Tools versions do I use to compile sources generated from the CN1 build server?

I'm trying to debug code as it runs on my Android test device. I sent a build to the CN1 server and downloaded the resulting sources.zip, which I then used to create a project in Android Developer Studio.
When I compile using
Compile SDK Version: API21 or API 22 with
Build Tools Version: 21.1.2 or 22.0.1, respectively
I get the following compile errors:
C:\home\dev\ProxyServerDebug\build\intermediates\res\merged\debug\values-v23\values-v23.xml
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
Error:(18) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
Error:Execution failed for task ':processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\opt\android-sdk\build-tools\22.0.1\aapt.exe'' finished with non-zero exit value 1
When I compile using
Compile SDK Version: API 23
Build Tools Version: 23.0.2
I get the following compile errors:
C:\home\dev\ProxyServerDebug\src\main\java\com\codename1\impl\android\AndroidImplementation.java
Error:(4563, 21) error: cannot find symbol method setLatestEventInfo(Activity,String,String,PendingIntent)
C:\home\dev\ProxyServerDebug\src\main\java\com\codename1\impl\android\PushNotificationService.java
Error:(110, 18) error: cannot find symbol method setLatestEventInfo(PushNotificationService,String,String,PendingIntent)
Is it just a matter of setting the correct SDK and Build Tools versions? or am I missing something else? BTW, sources were generated this morning, so I should be on the latest CN1 3.3 release.
If I recall correctly it should be 22.0.1 the reason build fails by default is that you need to configure an external gradle directory as explained in How to build the native Android sources from Codename One's build server

Resources