Expand my Community achievements bar.

We are excited to introduce our latest innovation to enhance the Adobe Campaign user experience — the Adobe Campaign v8 Web User Interface!
SOLVED

React Native SDK - Framework not found ACPCampaign

Avatar

Level 1

I'm trying to install the React Native AEP Campaign Standard Extension (https://github.com/adobe/react-native-acpcampaign).

 

After I run 'pod install' I'm getting an iOS build error on Xcode:

lucasmleal_0-1620391412712.png

 

Steps to reproduce:

npm install @adobe/react-native-acpcore
cd ios/ && pod install

npm install @adobe/react-native-acpcampaign
cd ios/ && pod install

Library versions:

react-native: "0.62.2"
@adobe/react-native-acpcore: "1.4.0"
@adobe/react-native-acpcampaign:"1.2.0"
XCode: 12.1

Additional information:

While 'pod install' was running a new warning message showed up, apparently referencing ACPCampaign:

lucasmleal_1-1620391910012.png

"[Xcodeproj] Generated duplicate UUIDs"
1 Accepted Solution

Avatar

Correct answer by
Level 1

I upgraded Xcode as @nporter suggested but the issue remained.

 

Fortunately we found the issue in CocoaPods repository and the solution fixed for us too:

https://github.com/CocoaPods/CocoaPods/issues/4370#issuecomment-183205691 

 

Including the following line in our Podfile solved the warning and the error no longer occurs:

install! 'cocoapods', :deterministic_uuids => false

 Anyway, thanks for your time @nporter. I aprecciate your help.

 

Regards,

Lucas. 

View solution in original post

4 Replies

Avatar

Level 2

Hi lucasmleal, I attempted to reproduce this issue but wasn't able to. I installed core and campaign into a fresh react native app and everything built without error. Here are the steps I took:

 

react-native init campaignTest && cd campaignTest

npm install @adobe/react-native-acpcore

npm install @adobe/react-native-acpcampaign

cd ios/ && pod install

* open Xcode and build project *

 

For background, I am running Xcode 12.4 and React Native 0.64.1. I have pushed up this sample project here: https://github.com/nporter-adbe/campaignTest

If I had to guess I would suggest upgrading your Xcode version if possible. It may have some compatibility issues with the XCFramework bundled in our packages. Let me know if this resolves your issue.

Avatar

Level 1
Hi nporter, thanks for answering me. I'll try your suggestion and then I let you know.

Avatar

Correct answer by
Level 1

I upgraded Xcode as @nporter suggested but the issue remained.

 

Fortunately we found the issue in CocoaPods repository and the solution fixed for us too:

https://github.com/CocoaPods/CocoaPods/issues/4370#issuecomment-183205691 

 

Including the following line in our Podfile solved the warning and the error no longer occurs:

install! 'cocoapods', :deterministic_uuids => false

 Anyway, thanks for your time @nporter. I aprecciate your help.

 

Regards,

Lucas.