Adversity makes people grow up

Friday, August 1, 2014

[iOS] Error: Synthesis of weak property only allowed in arc or gc mode

Go to Targets -> Build Phases -> Compile Sources, find the file

double click it to add: -fobjc-arc

and rebuild again.
Posted by Peter at 11:09 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Peter
View my complete profile

Blog Archive

  • ►  2019 (14)
    • ►  October (2)
    • ►  May (2)
    • ►  April (10)
  • ►  2018 (2)
    • ►  November (1)
    • ►  October (1)
  • ►  2017 (5)
    • ►  September (1)
    • ►  July (1)
    • ►  June (1)
    • ►  May (1)
    • ►  January (1)
  • ►  2016 (17)
    • ►  October (1)
    • ►  June (2)
    • ►  May (3)
    • ►  April (6)
    • ►  March (1)
    • ►  February (4)
  • ►  2015 (2)
    • ►  May (1)
    • ►  April (1)
  • ▼  2014 (13)
    • ►  November (2)
    • ►  October (1)
    • ▼  August (3)
      • [iOS] Solving Backwards Compatibility Issues
      • [iOS]Ojbective C async call sample
      • [iOS] Error: Synthesis of weak property only allow...
    • ►  July (2)
    • ►  June (4)
    • ►  May (1)
Simple theme. Powered by Blogger.