Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

React Native SDK - Framework not found ACPCampaign

lucasmleal
Level 1
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
lucasmleal
Correct answer by
Level 1
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

0 Replies
nporter
Level 2
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.

lucasmleal
Level 1
Level 1
Hi nporter, thanks for answering me. I'll try your suggestion and then I let you know.
lucasmleal
Correct answer by
Level 1
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