fix some errors about generate library xcode project in mac x os

the type of the project target is "library".if generate the xcode project in mac x os,there are serval mistakes.