1.
『3.DXライブラリを使用するためのプロジェクトの設定を行う』の中の
『D 次に同じく『Build Settings』の『Linking』の中の『Other Linker Flags』に以下の内容を入力します。』の
リンクライブラリ設定の -lpng_iOS は正しく行われていると思います。
Other Linker FlagsのDebugとReleaseにそれぞれ
-lDxLib_iOS -lDxUseCLib_iOS -lpng_iOS -lzlib_iOS -ljpeg_iOS -lbullet_iOS -logg_iOS -lvorbis_iOS -ltheora_iOS -ltiff_iOS -lopus_iOS
と入力しています。
2.
また、Seach PathsのHeader Search Paths、Library Seach Pathsの両方のdebugに
/Users/iguchishouju/Downloads/DxLib_iOS/プロジェクトに追加すべきファイル_iOS用/Debug-iphonesimulatorを入力し、
両方のReleaseに/Users/iguchishouju/Downloads/DxLib_iOS/プロジェクトに追加すべきファイル_iOS用/Release-iphonesimulatorを入力しています。
これで正しいでしょうか?
3.
poductをrunさせるとbuild faledと表示されエラーが二つ出ます。
一つはUndefined symbols:
二つ目はLinker command failed with exit code 1 (use -v to see invocation)です。
エラーの具体的な内容はこうです。
Ld /Users/iguchishouju/Library/Developer/Xcode/DerivedData/game-efwnxmqygesuhicusljgkfiljjly/Build/
Products/Debug-iphonesimulator/game.app/game normal (in target 'game' from project 'game')
cd /Volumes/I-O\ DATA/xcode/game
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-Xlinker -reproducible -target arm64-apple-ios17.2-simulator -isysroot /Applications/Xcode.app/Contents/Developer
/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator17.2.sdk -O0 -L/Users/iguchishouju/Library
/Developer/Xcode/DerivedData/game-efwnxmqygesuhicusljgkfiljjly/Build/Intermediates.noindex/EagerLinkingTBDs
/Debug-iphonesimulator -L/Users/iguchishouju/Library/Developer/Xcode/DerivedData/game-efwnxmqygesuhicusljgkfiljjly/Build
/Products/Debug-iphonesimulator -L/Users/iguchishouju/Downloads/DxLib_iOS/プロジェクトに追加すべきファイル_iOS用/Debug-iphonesimulator -F
/Users/iguchishouju/Library/Developer/Xcode/DerivedData/game-efwnxmqygesuhicusljgkfiljjly/Build/Intermediates.noindex/EagerLinkingTBDs
/Debug-iphonesimulator -F/Users/iguchishouju/Library/Developer/Xcode/DerivedData/game-efwnxmqygesuhicusljgkfiljjly/Build/Products
/Debug-iphonesimulator -filelist /Users/iguchishouju/Library/Developer/Xcode/DerivedData/game-efwnxmqygesuhicusljgkfiljjly/Build
/Intermediates.noindex/game.build/Debug-iphonesimulator/game.build/Objects-normal/arm64/game.LinkFileList -Xlinker -rpath -Xlinker
@executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/iguchishouju/Library/Developer/Xcode/DerivedData
/game-efwnxmqygesuhicusljgkfiljjly/Build/Intermediates.noindex/game.build/Debug-iphonesimulator/game.build/Objects-normal/arm64
/game_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2
-lDxLib_iOS -lDxUseCLib_iOS -lpng_iOS -lzlib_iOS -ljpeg_iOS -lbullet_iOS -logg_iOS -lvorbis_iOS -ltheora_iOS -ltiff_iOS -lopus_iOS
-Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/iguchishouju/Library/Developer/Xcode/DerivedData
/game-efwnxmqygesuhicusljgkfiljjly/Build/Intermediates.noindex/game.build/Debug-iphonesimulator/game.build
/game.app-Simulated.xcent -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __ents_der -Xlinker /Users/iguchishouju/Library/Developer
/Xcode/DerivedData/game-efwnxmqygesuhicusljgkfiljjly/Build/Intermediates.noindex/game.build/Debug-iphonesimulator/game.build
/game.app-Simulated.xcent.der -framework UIKit -framework QuartzCore -framework OpenGLES -framework OpenAL
-framework MessageUI -framework GLKit -framework GameController -framework Foundation -framework CoreText -framework CoreMotion -framework
CoreGraphics -framework AudioToolbox -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/iguchishouju/Library/Developer/Xcode
/DerivedData/game-efwnxmqygesuhicusljgkfiljjly/Build/Intermediates.noindex/game.build/Debug-iphonesimulator/game.build/Objects-normal/arm64
/game_dependency_info.dat -o /Users/iguchishouju/Library/Developer/Xcode/DerivedData/game-efwnxmqygesuhicusljgkfiljjly/Build/Products
/Debug-iphonesimulator/game.app/game
ld: Undefined symbols:
_png_do_expand_palette_rgb8_neon, referenced from:
_png_do_read_transformations in libpng_iOS.a[arm64][11](pngrtran.o)
_png_do_expand_palette_rgba8_neon, referenced from:
_png_do_read_transformations in libpng_iOS.a[arm64][11](pngrtran.o)
_png_init_filter_functions_neon, referenced from:
_png_read_filter_row in libpng_iOS.a[arm64][6](pngrutil.o)
_png_riffle_palette_neon, referenced from:
_png_do_read_transformations in libpng_iOS.a[arm64][11](pngrtran.o)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
何か分かりましたら教えて頂けると幸いです。
よろしくお願いします。