Solved

ios - Undefined symbols for architecture x86_64:   "_UTTypeCopyPreferredTagWithClass", referenced from:

Posted on 2014-09-05
4
2,236 Views
Last Modified: 2014-09-12
when trying to compile an app which is basically doing nothing just importing Parse framework and its dependencies, I am getting an error:
Undefined symbols for architecture x86_64:
  "_UTTypeCopyPreferredTagWithClass", referenced from:
      -[PFFile getMimeType] in Parse(PFFile.o)
  "_UTTypeCreatePreferredIdentifierForTag", referenced from:
      -[PFFile getMimeType] in Parse(PFFile.o)
  "_kUTTagClassFilenameExtension", referenced from:
      -[PFFile getMimeType] in Parse(PFFile.o)
  "_kUTTagClassMIMEType", referenced from:
      -[PFFile getMimeType] in Parse(PFFile.o)
ld: symbol(s) not found for architecture x86_64

Open in new window




I added all the necessary libraries (MobileCoreServices etc)
0
Comment
Question by:sniger
  • 3
4 Comments
 
LVL 12

Expert Comment

by:KRUNAL TAILOR
ID: 40307536
Hi sniger.

Add following frameworks in your project:

SystemConfiguration.framework

Thanks & Regards,
Krunal T. Tailor
0
 

Author Comment

by:sniger
ID: 40307552
Hi Krunak,

It is alreay there
0
 
LVL 12

Expert Comment

by:KRUNAL TAILOR
ID: 40308176
Hi  sniger,

As you are trying to add Parse framework. So please verify this below frameworks are added once.

AudioToolbox.framework
CFNetwork.framework
CoreGraphics.framework
CoreLocation.framework
libz.1.1.3.dylib
MobileCoreServices.framework
QuartzCore.framework
Security.framework
StoreKit.framework
SystemConfiguration.framework


Also, Make sure "Framework Search Paths" for Parse added in BuildSettings.

Go to Project > Build Settings > Framework Search Paths
Add path for "Parse.framework"

hope this will help you.

Thanks & Regards,
Krunal T. Tailor
0
 
LVL 12

Accepted Solution

by:
KRUNAL TAILOR earned 500 total points
ID: 40308179
Hi,

Also refer this parse ref doc here

Thanks & Regards,
Krunal T. Tailor
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I'm going to cover the basics and usages of NSInvocation. What is NSInvocation? Apple Developer Reference describes NSInvocation this way: An NSInvocation is an Objective-C message rendered static, that is, it is an action tur…
The release of the iPhone 6 and the iPhone 6 Plus was extremely successful for Apple. However when iOS 8.1 was introduced, many iPhone users complained of quick battery drainage. Without even knowing, you may be unnecessarily using up your battery p…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question