https://kotlinlang.org logo
#ios
Title
# ios
r

ribesg

06/15/2022, 2:52 PM
I updated to Kotlin 1.7.0 and now the cocoapods plugin tries to build a dependency for armv7 for some reason, why? That dependency doesn’t support armv7.
Copy code
ld: warning: ignoring file /Users/ribesg/XcodeProjects/events/build/cocoapods/synthetic/IOS/build/Release-iphoneos/MDFInternationalization/MDFInternationalization.framework/MDFInternationalization, building for iOS-armv7 but attempting to link with file built for iOS-arm64
Undefined symbols for architecture armv7:
  "_MDFRectFlippedHorizontally", referenced from:
      -[MDCTextField textRectForBounds:] in MDCTextField.o
      -[MDCTextField editingRectForBounds:] in MDCTextField.o
  "_MDFInsetsFlippedHorizontally", referenced from:
      -[MDCFloatingButton insetBoundsForBounds:] in MDCFloatingButton.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Also, I have
ios.deploymentTarget
set to
10.0
but
Copy code
/Users/ribesg/XcodeProjects/events/build/cocoapods/synthetic/IOS/Pods/Pods.xcodeproj: warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 15.5.99. (in target 'MDFTextAccessibility' from project 'Pods')
The failing command:
Copy code
* What went wrong:
Execution failed for task ':podBuildMaterialComponents_TextFieldsIphoneos'.
> Executing of 'xcodebuild -project Pods.xcodeproj -scheme MaterialComponents -sdk iphoneos -configuration Release' failed with code 65 and message: 
  
  Command line invocation:
      /Applications/Xcode-13.4.1.app/Contents/Developer/usr/bin/xcodebuild -project Pods.xcodeproj -scheme MaterialComponents -sdk iphoneos -configuration Release
  
  User defaults from command line:
      IDEPackageSupportUseBuiltinSCM = YES
  
  Build settings from command line:
      SDKROOT = iphoneos15.5
l

louiscad

06/18/2022, 3:44 AM
Worth filling on YouTrack?
s

Stefan Thaler

04/03/2023, 12:12 PM
Did you find a solution?
36 Views