---
title: "Discussion on \"Resolving \"Xcode issue UnityAds.h file not found\" error when building iOS on Unity\" | Hashnode"
description: "Discussion on \"Resolving \"Xcode issue UnityAds.h file not found\" error when building iOS on Unity\". I tried this way and it seems to work for me:\n\nCreate pod: cd to the generated iOS project, pod init, then add pod UnityAds, follow this https://docs.unity.com/en-us/grow/ads/ios-sdk/install-sdk\n\ntarget 'Unity-iPhone' do\n  # Comment the next line if ..."
url: "https://hashnode.com/posts/resolving-xcode-issue-unityadsh-file-not-found-error-when-building-ios-on-unity/691db34b33491b1ce95b7648"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Resolving "Xcode issue UnityAds.h file not found" error when building iOS on Unity](https://huynq.dev/resolving-xcode-issue-unityadsh-file-not-found-error-when-building-ios-on-unity?utm_source=hashnode&utm_medium=feed)

I tried this way and it seems to work for me: Create pod: cd to the generated iOS project, pod init, then add pod UnityAds, follow this https://docs.unity.com/en-us/grow/ads/ios-sdk/install-sdk target 'Unity-iPhone' do # Comment the next line if ...

Nov 19, 2025 · 1 min read · huynq.dev  
Read the article

-   [#unity](https://hashnode.com/tag/unity)
-   [#ios](https://hashnode.com/tag/ios)

## Written by

[HuyNG](https://hashnode.com/@eriknguyen)

@eriknguyen · Vietnam

  
[View profile](https://hashnode.com/@eriknguyen)

dev blogger, user teller, story writer

Hi there 👋 🔭 I’m currently working as Flutter Open Source Engineer 💙 Alongside my technical work, I have a passion for open-source projects and sharing knowledge through writing blog posts.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
