Problem compiling iOS with Unity 2019.4

Welcome! Forums Unity Plugins Mobile Speech Recognizer Problem compiling iOS with Unity 2019.4

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2060
    EducupEducup
    Participant

    Hello Piotr,

    I get this compiling error when change to Unity 2019.4, pliss can you check this ASAP :{

    Short:
    duplicate symbol _StringFromKKSpeechRecognitionAuthorizationStatus in:
    /Users/tony/Desktop/build/Libraries/Plugins/iOS/KKSpeechRecognizer.a(UnitySpeechRecognizerDelegate.o)
    /Users/tony/Desktop/build/Libraries/Plugins/iOS/KKSpeechRecognizer.a(KKSpeechRecognizer.o)
    ld: 2 duplicate symbols for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    Large tarck:
    Ld /Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/UnityFramework.build/Objects-normal/armv7/UnityFramework normal armv7 (in target: UnityFramework)
    cd /Users/tony/Desktop/build
    export IPHONEOS_DEPLOYMENT_TARGET=10.0 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/Bolts -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/FBSDKCoreKit -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/FBSDKLoginKit -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/FBSDKShareKit -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/FirebaseCore -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/FirebaseCoreDiagnostics -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/FirebaseInstallations -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/FirebaseInstanceID -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/FirebaseMessaging -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/GoogleDataTransport -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/GoogleDataTransportCCTSupport -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/GoogleUtilities -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/PromisesObjC -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/Protobuf -L/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/nanopb -L/Users/tony/Desktop/build/Libraries -L/Users/tony/Desktop/build/Libraries/Plugins/iOS/Firebase -L/Users/tony/Desktop/build/Libraries/Plugins/ImaginationOverflow/UniversalDeepLinking/libs/iOS -L/Users/tony/Desktop/build/Libraries/Plugins/iOS -F/Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos -F/Users/tony/Desktop/build/Pods/FirebaseAnalytics/Frameworks -F/Users/tony/Desktop/build/Pods/GoogleAppMeasurement/Frameworks -F/Users/tony/Desktop/build/Frameworks/com.unity.ads/Plugins/iOS -filelist /Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/UnityFramework.build/Objects-normal/armv7/UnityFramework.LinkFileList -install_name @rpath/UnityFramework.framework/UnityFramework -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -Xlinker -map -Xlinker /Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/UnityFramework.build/UnityFramework-LinkMap-normal-armv7.txt -miphoneos-version-min=10.0 -dead_strip -Xlinker -object_path_lto -Xlinker /Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/UnityFramework.build/Objects-normal/armv7/UnityFramework_lto.o -fembed-bitcode -Xlinker -bitcode_verify -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker /Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos -stdlib=libc++ -fobjc-arc -fobjc-link-runtime -ObjC -lBolts -lFBSDKCoreKit -lFBSDKLoginKit -lFBSDKShareKit -lFirebaseCore -lFirebaseCoreDiagnostics -lFirebaseInstallations -lFirebaseInstanceID -lFirebaseMessaging -lGoogleDataTransport -lGoogleDataTransportCCTSupport -lGoogleUtilities -lPromisesObjC -lProtobuf -lc++ -lnanopb -lsqlite3 -lz -framework CoreTelephony -framework FIRAnalyticsConnector -framework FirebaseAnalytics -framework Foundation -framework GoogleAppMeasurement -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -weak_framework Accounts -weak_framework AudioToolbox -weak_framework CoreGraphics -weak_framework CoreLocation -weak_framework Foundation -weak_framework QuartzCore -weak_framework Security -weak_framework Social -weak_framework UIKit -weak_framework UserNotifications -weak_framework CoreMotion -weak-lSystem -ObjC -liPhone-lib -framework Security -framework MediaToolbox -framework CoreText -framework AudioToolbox -weak_framework AVFoundation -framework AVKit -framework CFNetwork -framework CoreGraphics -framework CoreMedia -weak_framework CoreMotion -framework CoreVideo -framework Foundation -framework OpenAL -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -framework UIKit -liconv.2 -lil2cpp -framework UnityAds -lFirebaseCppMessaging -lFirebaseCppAnalytics -lUniversalDeepLink /Users/tony/Desktop/build/Libraries/Plugins/iOS/KKSpeechRecognizer.a -lFirebaseCppApp -framework StoreKit -framework AdSupport -framework CoreTelephony -weak_framework Metal -weak_framework GameController -weak_framework Speech -weak_framework UserNotifications -lPods-UnityFramework -Xlinker -dependency_info -Xlinker /Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/UnityFramework.build/Objects-normal/armv7/UnityFramework_dependency_info.dat -o /Users/tony/Library/Developer/Xcode/DerivedData/Unity-iPhone-eyjlzcqpogoeqzfauydijcualftt/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/IntermediateBuildFilesPath/Unity-iPhone.build/Release-iphoneos/UnityFramework.build/Objects-normal/armv7/UnityFramework

    #2062
    PiotrPiotr
    Keymaster

    It seems you are not using latest version of a plugin.

    #2069
    EducupEducup
    Participant

    No, i have updated this asset to 1.3.3 . This work fine on 2018.4 but on 2019.4 this error appear.

    #2071
    PiotrPiotr
    Keymaster

    You should be on 1.3.4 (released today 🙂 )

    #2072
    EducupEducup
    Participant

    Thanks a lot Piotr, and what is the usage of onReadyForSpeech callback?

    #2073
    PiotrPiotr
    Keymaster
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.