duemunk / Async

Syntactic sugar in Swift for asynchronous dispatches in Grand Central Dispatch
MIT License
4.59k stars 316 forks source link

Allow app extension API only on iOS target #77

Closed susieyy closed 8 years ago

susieyy commented 8 years ago

Why

I had following warning message at compile, when use Async framework with app extension.

ld: warning: linking against dylib not safe for use in application extensions: /Users/XXXX/src/some/where/Carthage/Build/iOS/Async.framework/Async

What

Check Allow app extension API only on Project > Async iOS Target > General > Deployment Info.

susieyy commented 8 years ago

THX!

duemunk commented 8 years ago

Thank you!

youngsing commented 7 years ago

Hi, I still got this warning message when use Async framework with app extension. Allow app extension API only unchecked now?

toshi0383 commented 7 years ago

Hi @youngsing . Are you using 2.0.1 ?

youngsing commented 7 years ago

Hi @toshi0383 YES. In Cartfile.resolved is github "duemunk/Async" "2.0.1". I used carthage update --platform iOS --no-use-binaries to install libraries. Does this affect it?

toshi0383 commented 7 years ago

I guess it regressed in 2.0.1 . I will check back when I get time.