I keep getting this error:
ld: duplicate symbol _OBJC_CLASS_$_FlurryAutoIncrement in /Users/game/FlurryAnalytics/ libFlurryAnalytics.a(FlurryAutoIncrement.o) and /Users/game/FlurryAppCircle/libFlurryAppCircle.a(FlurryAutoIncrement.o)
I've followed the guides properly. My XCode version is 3.2.5 and Flurry SDK version is 3.0.6
Are you using Flurry analytics too? Can you check your build config? From our FAQ:
This will occur if the -ObjC or -all_load flags are used in your
build configuration. These 2 flags can not be used with Flurry's
modular sdk. However, Apple does provide a -force_load flag that is
both more efficient and does not cause issue when applied to other
libraries your app uses (note: force_load should only be used on
static libraries exhibiting this behavior. It should not be applied to
the Flurry Libs). More details can be found in this link
(http://developer.apple.com/library/mac/#qa/qa1490/_index.html).
Let me know if this doesn't solve your issue.
Related
Since there's no official aws iot device sdk for micropython, I'd like to compile embed the official C SDK into micropython as a user module.
I following the guide from micropython official documentation on how to compile an external C modules into micropython.
The first method I'd like to use is initializeMqtt(). I added the include directories to the makefile (e.g.: CFLAGS_USERMOD += -I$(LIBS)/$(OPENSSL_DIR)/include/). Then I could compile it, but after I got some linker errors in connection with openssl. I cloned openssl from the official openssl Github page, and update the include directories, and started to add the missing .c files to the makefile, to compile it in. After I had the same results, and tried to found the missing references (search in openssl source), and I add the neccessary .c files, to the makefile (e.g.: SRC_USERMOD += $(LIBS)/$(OPENSSL_DIR)/crypto/cryptlib.c). Now I got more and more linking, errors like:
undefined reference to X509_VERIFY_PARAM_move_peername.
undefined reference to tls1_set_groups_list
and so on.
I use MacOS, I have installed openssl, added the must have flags to .profile.
Is it even possible achieve what I want?
I was working on a minor update to an app already accepted and available in the Apple App Store, and when I uploaded the new version, I got an e-mail that the binary was rejected because:
ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no
longer accepted. Instead, use WKWebView for improved security and
reliability. Learn more
(https://developer.apple.com/documentation/uikit/uiwebview).
How do I go about doing that? Is there a build hint or something?
Additional Information:
My app is using some CN1 extensions:
SENSORS,
BLUETOOTHLE,
JSON (required for BLUETOOTHLE)
As the BLUETOOTHLE extension uses a Cordova plugin, and Cordova was using UIWebView, I think that is the likely source.
According to Cordova's issue tracker, the Cordova plugin doesn't use UIWebView in its latest. It is possible that the build server has an old version cached. Try explicitly setting the version to 6.1 by adding the following build hint:
ios.pods=Cordova ~> 6.1
You'll already have this build hint, you just need to add the "~> 6.1" part.
Please post to indicate whether this fixed your issue, and I'll update the cn1lib to automatically add the version to the build hint.
Codename One doesn't use UIWebView at all. Make sure all your cn1libs are up to date and list them. Review your own native code and dependencies if you have any to make sure there's no usage there.
I moved my RCP application from Eclipse Oxygen to Photon, and also from Java 8 to Java 10.
The code compiles and the application works fine if I start it from Eclipse. However, when I try to build my application, I get an error:
plug-in JavaSE_0.0.0 has not been found
Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-10
Host plug-in JavaSE_0.0.0 has not been found.
I can't find any useful solution on Google. Maybe some of you can help me.
My manifest file contains this header:
Bundle-RequiredExecutionEnvironment: JavaSE-10
This seems to be an Eclipse bug. Eclipse seems not to able to deal with JavaSE-10 properly.
The simplest solution at the moment is just to use Bundle-RequiredExecutionEnvironment: JavaSE-9 rather than JavaSE-10 and put up with the warning that this doesn't match the JRE container.
Since OSGi 4.3, the most appropriate way to specify a minimum Java version is using the Required-Capability header, as in:
Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version>=1.10))"
I have had success fixing the reported error by replacing all occurrences of Bundle-RequiredExecutionEnvironment with the above line. In PDE, you may get a warning on the manifest file, but it can be safely ignored. Product validation and product exports seems to work without issue. One thing I'm not sure however is how P2 reacts when fed bundles that do not contains the BREE header.
Alternatively, Eclipse 2018-09 is now out, and seems to provide a JavaSE-10 environment description (just in time for JavaSE 10 deprecation...); I haven't tested yet JavaSE 11 support (available as a plugin for Eclipse 2018-09).
I'm new to c++ and trying to run the code here https://github.com/chussong/virasoro. After installing GMP and do a "make", I got the following error. I've no idea how to fix it now. Could anybody tell me what should I look into? Is that anything wrong with my gcc? Or how can I reinstall everything on my Mac to fix any possible issues? Thank you!
As mentioned in the comment above, a likely cause of the error above is that you have not installed libgmpxx, which is a supplementary library used by GMP to provide C++ class wrappers around the basic GMP library. If you built GMP from the source provided by the developers of the library (https://gmplib.org/) you can do this by specifying the --enable-cxx option when running configure. If you installed a packaged version from some repository, you should look at that repository to see if libgmpxx is also available there.
Is there an obvious way to get Clutter Toolkit up and running in Ubuntu. It seems like there is a huge list of dependencies as I try compiling it.
The current dependency which I am unable to resolve is "cogl-pango-1.0".
Any suggestions on getting up a running with Clutter, for development?
11.04 already ships with clutter 1.6.14: http://packages.ubuntu.com/natty/libclutter-1.0-0
see also: http://packages.ubuntu.com/source/natty/clutter-1.0 for the development and documentation packages.
the dependencies list is not "huge": most of the requirements are already available in 11.04 as -devel or -dev.
if you want to build from sources, I can recommend using jhbuild: the necessary steps are provided here: http://wiki.clutter-project.org/wiki/BuildingClutter#Building_from_Git