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

Fail to build app in Xcode 12 #1214

Closed
5 of 10 tasks
ricardohochman opened this issue Jun 23, 2020 · 6 comments
Closed
5 of 10 tasks

Fail to build app in Xcode 12 #1214

ricardohochman opened this issue Jun 23, 2020 · 6 comments

Comments

@ricardohochman
Copy link

Check these before submitting:

  • The issue doesn't involve an Unsupported Feature
  • This issue isn't related to another open issue

This issue is a:

  • Non-Crashing Bug (Visual or otherwise)
  • Crashing Bug
  • Feature Request
  • Regression (Something that once worked, but doesn't work anymore)

Which Version of Lottie are you using?

Lottie 3.1.8

What Platform are you on?

  • MacOS
  • iOS

What Language are you in?

  • Swift
  • Objective-C

Expected Behavior

Project building successfully

Actual Behavior

image

Undefined symbols for architecture armv7:
  "type metadata for Swift._StringObject.Variant", referenced from:
      outlined init with take of Swift._StringObject.Variant in AnimationKeypathExtension.o
ld: symbol(s) not found for architecture armv7

Xcode Version 12.0 beta (12A6159)

@danl3v
Copy link
Contributor

danl3v commented Jun 23, 2020

In beta 1, we found that substrings seem to have issues compiling. We could get it building by updating

func equalsKeypath(_ keyname: String) -> Bool - if you wrap the prefix and suffix methods with String(), we were then able to build

@danl3v
Copy link
Contributor

danl3v commented Jun 23, 2020

Here are our changes: #1215

@m760622
Copy link

m760622 commented Jul 29, 2020

I fixed it by going to the **Build Settings ** for Lottie-ios Deployment and changed the iOS Deployment Target to iOS 13

@danl3v
Copy link
Contributor

danl3v commented Aug 11, 2020

This is fixed in Xcode 12 beta 4 and the PR can be reverted

@calda
Copy link
Member

calda commented Jul 13, 2022

Closing since this seems like a potentially outdated issue. Feel free to re-open if you're still experiencing this issue.

@calda calda closed this as completed Jul 13, 2022
@Harry-KNIGHT
Copy link

Harry-KNIGHT commented Aug 30, 2022

I got this issue with Xcode 13.4.1

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

No branches or pull requests

5 participants