xcode "copy files" build phase and symlinks -


i have cmake projects generates xcodeproj. in xcodeproject copies openal*.dylib bundle's /framework directory.

openal (from alsoft) has 3 .dylib files:

  • a) openal.dylib, 17 bytes, symlink pointing (b)
  • b) openal.1.dylib, 22 bytes, symlink pointing (c)
  • c) openal.1.16.0.dylib, 483 kb, actual library

openal sdk in finder

these files copied in "copy files" xcode 'copy files' build step

now when build application bundle looks this:

  • (a) openal.dylib, 22 bytes - assume (b) above
  • (b) openal.1.dylib, 483 kb - (c)
  • (c) openal.1.16.0.dylib - library itself, 483 kb.

bundle /framework/openal*

so apparently follow symlink "1 level deep"... ?

how can xcode "follow symlinks end" ? i'd openal.dylib 483kb in bundle. read on should follow symlinks, shouldn't recursively 'to end' ?

quick workaround delete/overwrite openal.dylib openal.1.16.0.dylib... better alternatives xcode follow symlink-chain end ?


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -