-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build Errors #15
Comments
Even i am facing the same issue |
@ddeakes and @DigvijayJaswal , please which command did you use to install the plugin? Maybe you have pulled from the wrong branch? Please make sure you use |
@arcadius Thanks for the reply, that however still gives the same error when trying to run: cordova build ios --save I get: ld: symbol(s) not found for architecture x86_64 |
@ddeakes i was able to make it work by adding libc inside Linked Libraries |
duplicate symbol '_kDeviceType' in: Not able to build, could you please help us resolve. |
@sanarm123, Seems the problem here is that you are using 2 SDKs from different printer vendors and each SDK has the same duplicate symbol. One or the other SDK will likely have to change the name of the constant to avoid this problem. Can you provide your contact info and I will reach out to you outside of GitHub to discuss further. |
Getting the same error using IONIC : |
@vanerleo It seems from other answers above that the fix is to add libc++ as a linked library. Have you tried that? |
@robr2112 the only way i found to fix this is to add
plugins/cordova-plugin-brother-label-printer/plugin.xml and remove platforms folder |
@robr2112 i can get the printer if Printer is connected to the WIFI |
@vanerleo, No, I would not expect simulator to find USB-connected printers. It might find using Ethernet if you're looking for a cable-based setup. |
when building a release version getting an error
any solutions for this? |
@vanerleo, sorry I'm not sure. Sounds like a build system issue. Have you tried doing a "clean" or "rebuild all"? Or deleting "Derived Data" for your app? |
@vanerleo Have you solved this yet? Are you using Xcode 12 by any chance? I just ran into a similar problem with Xcode 12.0.0. Problem doesn't happen with Xcode 11.6. Haven't tried 12.0.1 yet to see if it fixes this, but doesn't seem likely. The following StackOverflow post may provide an answer. I'm still reviewing this myself. https://stackoverflow.com/questions/63607158/xcode-12-building-for-ios-simulator-but-linking-in-object-file-built-for-ios |
@robr2112 using Xcode Version 12.1 (12A7403) |
@vanerleo OK, refer to the StackOverflow post I mentioned before. This is a new problem with Xcode12, which you will typically encounter when you build for Simulator in the Release configuration (which creates a Universal Binary, i.e. "Build Active Architecture Only" = NO). You may not have the problem when building for Debug configuration....unless you want to use a simulator that has arm64 processor...since Debug configuration will typically not try to create a UB. The SO post describes some ways to fix this for "Release" configuration by modifying the "Excluded Architectures" setting to exclude arm64 when building for Simulators. I have verified that this does work, at least on a Native iOS project using only Xcode and not Cordova. I don't know how to resolve this in Cordova dev environment, as I am not a Cordova developer. -Rob |
Managed to get this to work by moving to Emulator : No issues Any ideas why this would be happening? |
@vanerleo, great that you could fix by moving to Ionic-Capacitor. Not sure why Cordova is not working? But at least you found a solution. About the iOS13.8+ problem with WIFI Search: Please add the following information in the Info.plist:
|
closing as @vanerleo managed to get it working |
When I try to build my iOS Cordova app after installing this plugin I now get the following error.
Any help would greatly be appreciated.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
xcodebuild: Command failed with exit code 65
The text was updated successfully, but these errors were encountered: