Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7072533
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:49:13+00:00 2026-05-28T05:49:13+00:00

I was messing around with Core Animation trying to get it to work, and

  • 0

I was messing around with Core Animation trying to get it to work, and I’m fairly sure I did everything right but when I tried to run my program Xcode threw up these bizarre errors at me:

Undefined symbols for architecture i386:
“_OBJC_CLASS_$_CALayer”, referenced from:
objc-class-ref in ViewController.o
“_OBJC_CLASS_$_CABasicAnimation”, referenced from:
objc-class-ref in ViewController.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

I have no idea what any of that means. I imported the QuartzCore framework into the appropriate view controller, and here is the code I used for the animation:

UIImage *image01 = [UIImage imageNamed:@"image.png"];
imageView = [[UIImageView alloc] initWithImage:image01];
imageView.frame = CGRectMake(455, 150, 150, 150);

CALayer *imageLayer = [CALayer layer];
imageLayer.bounds = imageView.frame;
imageLayer.contents = imageView;
[view.layer addSublayer:imageLayer];

CGFloat imageXAtStart = imageLayer.position.x;
imageLayer.position = CGPointMake(335, 150);

CABasicAnimation *imageAnimation = [CABasicAnimation animationWithKeyPath:@"position.x"];
imageAnimation.fromValue = [NSNumber numberWithFloat:imageXAtStart];
imageAnimation.toValue = [NSNumber numberWithFloat:335];
imageAnimation.duration = 3;
imageAnimation.beginTime = 2;
[imageLayer addAnimation:imageAnimation forKey:@"position"];

If it matters, the animation is just supposed to move the image/layer from one x value to another.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:49:14+00:00Added an answer on May 28, 2026 at 5:49 am

    This means you haven’t linked your application to the framework which implements those classes.

    Mind that linking is not the same as importing. By importing the header files you let the compiler know that the classes exist. By linking to the framework you point the compiler the implementation of the classes themselves.

    Right click your Frameworks directory (or any directory) in Xcode and select Add existing framework. Now choose the appropriate framework and click Choose.

    PS: George is right, do something about your accept rate. You’ve asked five or so questions but haven’t accepted one answer. If you continue like this, eventually nobody will want to answer your questions anymore.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Been messing around with Hibernate and PostgreSQL trying to get it to work as
I'm messing around with Core Data, and I am sure I am missing something
I was messing around with RhinoMocks this morning and couldn't run my tests because
I've been messing around with the free Digital Mars Compiler at work (naughty I
i have been messing around with a search engine and i am trying to
I've been messing around all day trying to find why my query performance is
I'm looking for the right textfield parameters or work-around for my latest problem here
I'm just messing around trying to learn a little bit about parallel computing. If
Messing around with some CSS trying to learn some stuff as I haven't done
I'm messing around with expression trees, but I'm little stuck. I have this expression:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.