Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import iOS - [!] No podspec found for UnityFramework in ./UnityLibrary/UnityFramework #953

Open
dsmak opened this issue Jun 2, 2024 · 1 comment

Comments

@dsmak
Copy link

dsmak commented Jun 2, 2024

Unity 2022.3.27 with unitypackages/fuw-2022.2.0.unitypackage - when exporting for iOS:

No podspec found for UnityFramework in ./UnityLibrary/UnityFramework

@tasogare-88
Copy link

tasogare-88 commented Dec 5, 2024

After placing this file in theios/UnityLibrary/ directory, the issue has been resolved.

ios/UnityLibrary/UnityFramework.podspec

Pod::Spec.new do |s|
  s.name = 'UnityFramework'
  s.version = '0.0.1' # any version
  s.summary = 'Unity Framework for iOS'
  s.description = 'Unity Framework for iOS integration'
  s.homepage = 'https://unity.com'
  s.license = { :type => 'Copyright', :text => 'Copyright © 2024' }
  s.author = { 'Unity' => '[email protected]' }
  s.source = { :git => '.', :tag => "#{s.version}" }
  s.platform = :ios, '13.0'   # your minimum supported version
  s.vendored_frameworks = 'UnityFramework.framework'
  s.framework = 'UnityFramework'
  s.xcconfig = {
    'FRAMEWORK_SEARCH_PATHS' => '"$(PODS_ROOT)/UnityFramework"',
    'OTHER_LDFLAGS' => '$(inherited) -framework UnityFramework'
  }
end

Unity: ^2022.3.40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants