0

When I use IOSurface.framework, the problem follows:

d: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk/System/Library/PrivateFrameworks' ld: framework not found IOSurface

I know IOSurface is a private framework and I just want to install the app into my iPhone, how to solve this problem?

sKhan
  • 9,694
  • 16
  • 55
  • 53
WflytoC
  • 215
  • 2
  • 4
  • 11

1 Answers1

0

Have you tried out this

If it is a "directory not found for option '-L/..." error, that means it's a Library Error, and you should try to:

  • Click on your project (targets)
  • Click on Build Settings
  • Under Library Search Paths, delete the paths

If it is a "directory not found for option '-F/...", that means it's a Framework Error, and you should try to:

  • Click on your project (targets)
  • Click on Build Settings
  • Under Framework Search Paths, delete the paths
Moin Shirazi
  • 4,372
  • 2
  • 26
  • 38
  • when i delete the paths,problem is "ld: framework not found IOSurface" – WflytoC Mar 24 '16 at 10:32
  • Make sure you have the listed frameworks linked in Build Phase Link Binary with Libraries – Moin Shirazi Mar 24 '16 at 10:37
  • this might help you http://stackoverflow.com/questions/1522151/need-help-with-iosurface-opengl-for-max-os-x-snow-leopard-application – Moin Shirazi Mar 24 '16 at 10:37
  • Yes,i have the listed frameworks linked in Build Phase Link Binary with Libraries,but it does not work.The problem is still "ld: framework not found IOSurface" – WflytoC Mar 24 '16 at 10:42
  • the last link is too old to refer,furthermore ,the answer is as if not suitable for the problem – WflytoC Mar 24 '16 at 13:45
  • Apple closed IOSurface down in iOS 9 ,so we can not use it.Thank you anyway! – WflytoC Mar 24 '16 at 14:21