Skip to content
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

cordova-sqlite-ext and cordova-sqlite-storage #67

Open
uselessai opened this issue Oct 25, 2017 · 1 comment
Open

cordova-sqlite-ext and cordova-sqlite-storage #67

uselessai opened this issue Oct 25, 2017 · 1 comment

Comments

@uselessai
Copy link

When I install this 2 plugins I am getting this error in iOS. I delete one of them and it works perfectly.

[ERROR] An error occurred while running cordova build ios (exit code 1):

    (truncated) ... kpxoqckl/Build/Intermediates.noindex/Part App.build/Debug-iphonesimulator/Part 
    App.build/Objects-normal/x86_64/sqlite3-408C0FE16FBB7785.o
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-9C5901A687714452.o
    duplicate symbol _sqlite3_malloc64 in:
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-408C0FE16FBB7785.o
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-9C5901A687714452.o
    duplicate symbol _sqlite3_realloc64 in:
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-408C0FE16FBB7785.o
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-9C5901A687714452.o
    duplicate symbol _sqlite3_result_zeroblob64 in:
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-408C0FE16FBB7785.o
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-9C5901A687714452.o
    duplicate symbol _sqlite3_result_blob64 in:
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-408C0FE16FBB7785.o
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-9C5901A687714452.o
    duplicate symbol _sqlite3_wal_checkpoint_v2 in:
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-408C0FE16FBB7785.o
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-9C5901A687714452.o
    duplicate symbol _sqlite3_create_function_v2 in:
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-408C0FE16FBB7785.o
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-9C5901A687714452.o
    duplicate symbol _sqlite3_prepare_v2 in:
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-408C0FE16FBB7785.o
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-9C5901A687714452.o
    duplicate symbol _sqlite3_create_module_v2 in:
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-408C0FE16FBB7785.o
         
    /Users/yincany/Library/Developer/Xcode/DerivedData/Part_App-hdkeuasuubywidegyrrakpxoqckl/Build/Intermediates.noindex/Part 
    App.build/Debug-iphonesimulator/Part App.build/Objects-normal/x86_64/sqlite3-9C5901A687714452.o
    ld: 211 duplicate symbols for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    
    ** BUILD FAILED **
    
    
    The following build commands failed:
    	Ld build/emulator/Part\ App.app/Part\ App normal x86_64
    (1 failure)
    Error: Error code 65 for command: xcodebuild with args: 
    -xcconfig,/Users/yincany/Desktop/PartApp/Client/platforms/ios/cordova/build-debug.xcconfig,-workspace,Part 
    App.xcworkspace,-scheme,Part App,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS 
    Simulator,name=iPhone 
    SE,build,CONFIGURATION_BUILD_DIR=/Users/yincany/Desktop/PartApp/Client/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/yincany/Desktop/PartApp/Client/platforms/ios/build/sharedpch
@brodycj
Copy link
Owner

brodycj commented Oct 26, 2017

It is not possible to install multiple sqlite plugins. Duplicate symbols will result. This will be documented as a pitfall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants