Post

Replies

Boosts

Views

Activity

Reply to The app references non-public symbols in Payload/iosApp.app/iosApp:
Im using react-native and pods in my project and got this error and had added Skiarenderlib to my project unarchiving this and found out that the project is using icucore lib and my pods where also including this in the other_ldflags (inherited) so i simply removed it in post install pod script and now everything is validated. installer.pods_project.targets.each do |t| t.build_configurations.each do |config| if t.name == 'Pods-YourAppName' || t.name == 'Pods-YourAppName-YourAppNameTests' xcconfig_path = config.base_configuration_reference.real_path build_settings = Hash[*File.read(xcconfig_path).lines.map{|x| x.split(/\s*=\s*/, 2)}.flatten] build_settings['OTHER_LDFLAGS'] = build_settings['OTHER_LDFLAGS'].gsub(' -l"icucore"','') File.open(xcconfig_path, "w") {|file| file.puts ""} build_settings.each do |key,value| File.open(xcconfig_path, "a") {|file| file.puts "#{key} = #{value}"} end end end end
Feb ’25
Reply to Xcode 15 linking error
For me the error on CoreAudioType was a bogus one i was trying to add a library.a file and Xcode 15 uses by default the new linker. so adding -ld_classic to Other linker flags solved everything. Just putting it out there if anyone have the same issues.
Nov ’24
Reply to The app references non-public symbols in Payload/iosApp.app/iosApp:
Im using react-native and pods in my project and got this error and had added Skiarenderlib to my project unarchiving this and found out that the project is using icucore lib and my pods where also including this in the other_ldflags (inherited) so i simply removed it in post install pod script and now everything is validated. installer.pods_project.targets.each do |t| t.build_configurations.each do |config| if t.name == 'Pods-YourAppName' || t.name == 'Pods-YourAppName-YourAppNameTests' xcconfig_path = config.base_configuration_reference.real_path build_settings = Hash[*File.read(xcconfig_path).lines.map{|x| x.split(/\s*=\s*/, 2)}.flatten] build_settings['OTHER_LDFLAGS'] = build_settings['OTHER_LDFLAGS'].gsub(' -l"icucore"','') File.open(xcconfig_path, "w") {|file| file.puts ""} build_settings.each do |key,value| File.open(xcconfig_path, "a") {|file| file.puts "#{key} = #{value}"} end end end end
Replies
Boosts
Views
Activity
Feb ’25
Reply to Xcode 15 linking error
For me the error on CoreAudioType was a bogus one i was trying to add a library.a file and Xcode 15 uses by default the new linker. so adding -ld_classic to Other linker flags solved everything. Just putting it out there if anyone have the same issues.
Replies
Boosts
Views
Activity
Nov ’24
Reply to framework 'CoreAudioTypes' not found
New Xcode 15.x auto uses the new linker.. adding -ld_classic to Other linker flags solved all errors and its now working.
Replies
Boosts
Views
Activity
Nov ’24
Reply to Xcode 15 beta 7 Previews building issue
For me the error on CoreAudioType was a bogus one i was trying to add a library.a file and Xcode 15 uses by default the new linker. so adding -ld_classic to Other linker flags solved everything. Just putting it out there if anyone have the same issues.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’24