Skip to content

[6.17.0] 'AppsFlyerLib/AppsFlyerConsent.h' file not found #633

@efstathiosntonas

Description

@efstathiosntonas

Report

Plugin Version

6.17.0

On what Platform are you having the issue?

iOS

What did you do?

upgraded from 6.16.2 to 6.17.0

What did you expect to happen?

build on iOS

What happened instead?

throws 'AppsFlyerLib/AppsFlyerConsent.h' file not found

Please provide any other relevant information.

Image

I deintegrated pods, removed and reinstalled node_modules, cleared product build and xcode derived data, did not resolve the issue.

my Podfile, i use use_frameworks! :linkage => :static:

require File.join(File.dirname(`node --print "require.resolve('expo/package.json')"`), "scripts/autolinking")

# required for react-native-permissions
def node_require(script)
    # Resolve script with node to allow for hoisting
    require Pod::Executable.execute_command('node', ['-p',
     "require.resolve(
       '#{script}',
       {paths: [process.argv[1]]},
     )", __dir__]).strip
end

node_require('react-native/scripts/react_native_pods.rb')
node_require('react-native-permissions/scripts/setup.rb')

platform :ios, '15.1'
prepare_react_native_project!

setup_permissions([
   'Camera',
   'LocationWhenInUse',
   'Microphone',
   'Notifications',
   'PhotoLibrary'
])

linkage = ENV['USE_FRAMEWORKS']
if linkage != nil
	Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
	use_frameworks! :linkage => linkage.to_sym
end

IS_CI = ENV['APPCENTER_BUILD_ID']
plugin 'cocoapods-patch'

target 'XXXXX' do
	use_expo_modules!
	post_integrate do |installer|
		begin
			expo_patch_react_imports!(installer)
		rescue => e
			Pod::UI.warn e
		end
	end

	pod 'ffmpeg-kit-react-native', :subspecs => ['video'], :podspec => '../node_modules/ffmpeg-kit-react-native/ffmpeg-kit-react-native.podspec'
	config = use_native_modules!
	use_frameworks! :linkage => :static


      use_react_native!(
        :path => config[:reactNativePath],
        # An absolute path to your application root.
        :app_path => "#{Pod::Config.instance.installation_root}/.."
      )

	$FirebaseSDKVersion = '11.14.0'
	pod 'FirebaseAppCheckInterop', '=' + "11.14.0"
	pod 'FirebaseAuthInterop', '=' + "11.14.0"
	pod 'FirebaseMessagingInterop', '=' + "11.14.0"
	pod 'FirebaseSharedSwift', '=' + "11.14.0"
	pod 'FirebaseCoreInternal', '=' + "11.14.0"
	pod 'FirebaseInstallations', '=' + "11.14.0"
	pod 'FirebaseCoreExtension', '=' + "11.14.0"
	pod 'SDWebImage', '=' + "5.21.1"

    $RNVideoUseVideoCaching=true
	$RNMapboxMapsVersion = '= 11.8.0'

	pod 'RNLocalize', :path => '../node_modules/react-native-localize'

	target 'XXXXtests' do
		inherit! :complete
		# Pods for testing
	end

	  pre_install do |installer|
	  $RNMapboxMaps.pre_install(installer)
        installer.pod_targets.each do |pod|
          if pod.name.eql?('op-sqlite')
            def pod.build_type
              Pod::BuildType.static_library
            end
          end
        end
      end


	post_install do |installer|
	    $RNMapboxMaps.post_install(installer)
		react_native_post_install(
			installer,
			config[:reactNativePath],
			:mac_catalyst_enabled => false,
			:ccache_enabled => false
		)
    end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions