I'm still facing this issue, cannot build widget target on an objective-c based project
I tried @iceleaf solution but that was too technical for me, needs more explanation :)
Also I tried to set Intent Generation to Objective-C in build settings as per @developer555 but that didn't help.
Post
Replies
Boosts
Views
Activity
For people facing this issue, @kiji123's answer actually worked for me
Just make sure you're setting this "Build active architecture" option on the pods targets as well, you can do this by adding this to your Podfile:
post_install do |installer|
installer.pods_project.targets.each do |target|
	target.build_configurations.each do |config|
	 config.build_settings['ONLY_ACTIVE_ARCH'] = 'YES'
	end
end
end
and running pod install
I see, I thought it'd run normally as part of Xcode 13, but I guess I missed the macOS 12 requirement.
Thanks for the reply.