warning: ‘weak_import’ attribute ignored

April 12, 2009 § Leave a comment

Debugging is one of the most undocumented and least discussed topic in Xcode.

Very often you would have to rebuild the project hundreds of time if you make significant changes in project name, ViewController name, etc.

Sometimes you can save time by copy files from existing project by dragging the folders and files to new project. However, it doesn’t work all the times without running into significant errors.

After hours of trials, I discovered AudioTool.framework and AVFoundation.framework don’t like file transferring.

The most troublesome file transfer is CoreLocation.framework. If you are doing complex work on CoreLocation.framework, then it is better to add the framework instead of transferring.

If you don’t you’ll get this warning on console.
warning: ‘weak_import’ attribute ignored


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

What’s this?

You are currently reading warning: ‘weak_import’ attribute ignored at Web Builders.


%d bloggers like this: