cancel
Showing results for 
Search instead for 
Did you mean: 

Instrumenting iOS Applications in Xcode failed

SOLVED
New Contributor

Instrumenting iOS Applications in Xcode failed

Hello Community,

would like to instrument a react-native (RN 61.5) app with Xcode (12.1) for TestComplete. Adjusted the new target as described in the documentation.

But Archive failed with:

'React/RCTBridgeDelegate.h' file not found

in AppDelegate.h

Please can you help me.

2 ACCEPTED SOLUTIONS

Accepted Solutions
New Contributor

Re: Instrumenting iOS Applications in Xcode failed

Thank you @Marsha_R ,

as you say, google search results pointing only to common issues for that, but nothing related to TestComplete setup.
I redoing all the steps, checking after each if Archive was successful, and at the end then I could build a IPA file.

 

What went wrong on my side? Maybe adding the lib, or set Other Linker Flags was buggy, can't say it exactly.

Now I'm fine.

 

| Created a new Group "App_TestComplete" in Xcode, and added the lib and *_TestComplete.plist into this group.

 

I aprecciate your effort!

View solution in original post

New Contributor

Re: Instrumenting iOS Applications in Xcode failed

when using pods, add duplicated target in Podfile

target 'App_Name' do
# ...

  target 'App_Name_TestComplete' do
  end  
end

 will solve the issue

View solution in original post

4 REPLIES 4
Community Hero

Re: Instrumenting iOS Applications in Xcode failed

I didn't find anything in TestComplete documentation but there's a lot of information other places if you do a Google search.  Here's the one I thought might be most helpful.

 

https://github.com/facebook/react-native/issues/25838

New Contributor

Re: Instrumenting iOS Applications in Xcode failed

Thank you @Marsha_R ,

as you say, google search results pointing only to common issues for that, but nothing related to TestComplete setup.
I redoing all the steps, checking after each if Archive was successful, and at the end then I could build a IPA file.

 

What went wrong on my side? Maybe adding the lib, or set Other Linker Flags was buggy, can't say it exactly.

Now I'm fine.

 

| Created a new Group "App_TestComplete" in Xcode, and added the lib and *_TestComplete.plist into this group.

 

I aprecciate your effort!

View solution in original post

New Contributor

Re: Instrumenting iOS Applications in Xcode failed

Have the same issue after run pod install.

Reason: $(inherited) breaks

Bildschirmfoto 2020-11-17 um 09.50.11.png

 

 

after pod install

image.png

also Check Pods Manifest.lock and Copy Pods Resources are removed from Build Phases

 

Any idea?

New Contributor

Re: Instrumenting iOS Applications in Xcode failed

when using pods, add duplicated target in Podfile

target 'App_Name' do
# ...

  target 'App_Name_TestComplete' do
  end  
end

 will solve the issue

View solution in original post

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors