Error building 32-bit OS X app?

前端 未结 2 508
没有蜡笔的小新
没有蜡笔的小新 2021-01-18 01:08

I\'m working on my first Mac OS X app. My project was set-up with XCode defaults and I haven\'t touched any Build Settings. When building for Mac 64-bit, the app runs fine.

2条回答
  •  甜味超标
    2021-01-18 01:17

    You can set the NS_BUILD_32_LIKE_64 preprocessor macro in Xcode for the the 32bit build target. This will save you the trouble of maintaining separate code for 32bit and 64bit versions.

提交回复
热议问题