Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6643551
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:03:48+00:00 2026-05-26T00:03:48+00:00

My project works fine on simulator but wouldn’t build on real device after adding:

  • 0

My project works fine on simulator but wouldn’t build on real device after adding:

@synthesize extraView=_extraView;

It seems that this line somehow hides file header. Tried “Clean” – no change.
I’ve used @property and @synthesize many times before and haven’t seen anything like this.
I’m planning to rewrite extraView handling but I’m asking just out of curiosity if someone has experienced similar error.

Platform:

XCode 4.0.1
4.2.1 Ipad

File header:

//
//  MediaBook.h
//  Dolphin
//
//  Created by Handymood on 11-5-22.
//  Copyright 2011 __Hanydmood__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SinglePage.h"
#import "LayerInfo.h"
#import "MediaBookXMLParser.h"
#import "GlobalSet.h"
#import "UIComponentBase.h"
#import "IndexPageInfo.h"
#import "IndexPage.h"
#import "TopBar.h"
#import "BottomBar.h"
#import "DolphinUIWebLayer.h"
#import "MediaBookBase.h"
#import "ColorUtil.h"
#import "DolphinUICategory.h"
#import "UICategoryUnit.h"
#import "ImageInfoBox.h"
#import "Gallery.h"
#import "Calendar.h"

@class SinglePage;
@class LayerInfo;
@class MediaBookXMLParser;
@class GlobalSet;
@class UIComponentBase;
@class IndexPageInfo;
@class IndexPage;
@class TopBar;
@class BottomBar;
@class DolphinUIWebLayer;
@class MediaBookBase;
@class ColorUtil;
@class DolphinUICategory;
@class UICategoryUnit;

@interface MediaBook : MediaBookBase <UIScrollViewDelegate>
{
    UIImageLayer *backGroundImage;
    UIView           *bgView;
    BottomBar     *bottomBar;
    DolphinUIWebLayer  *webLayer;
    DolphinUICategory    *categoryLayer;

    UIActivityIndicatorView *activityIndicator;
    UIInterfaceOrientation    preOrientation;

    NSTimer *objQueMagTimer;

    float previous_scroll_pos;

    BOOL bar_status_hidden;
    float top_bar_ori_y;
    float bottom_bar_ori_y;

    BOOL scroll_block_signal;

    int screen_direction;//0:vertical 1:horizontal

    BOOL webLayerOn;
    BOOL categoryOn;

    BOOL changingExtraView;
}

@property UIInterfaceOrientation    preOrientation;
@property (nonatomic, retain) UIView *extraView;

-(void) initWithGlobalSet:(GlobalSet *) inGlobalSet;
-(void) initBook:(NSString *)configXmlAdd curOrientation:(UIInterfaceOrientation)interfaceOrientation;

-(void) initBookContent;

-(void) notificationSelector:(NSNotification *) notification;

-(void) statusBarAnimationTrigger;

-(void) layoutAdjustWithOrientation:(UIInterfaceOrientation)interfaceOrientation 
                                orientaionType:(NSString *) inOrientationType;

-(void) closeCategoryLayer;

-(void) reset;

-(void) showExtraView:(NSString *)name;
-(void) hideExtraView;

@end

Screenshot of build errors:

enter image description here

I’ve used @property and @synthesize many times before and haven’t seen any similar.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:03:49+00:00Added an answer on May 26, 2026 at 12:03 am

    Adding following to interface declaration solved the problem:

    UIView *_extraView;
    

    Thanks to mja for the tip.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i created a simple project with zf and it works fine, but when i
My project and web services work fine in the simulator but crash when uploading
I have a project that builds fine If I build it manually but it
Everything works fine when the unit tests class is part of the main project
I'm building a project using a GNU tool chain and everything works fine until
Our flex project, which works fine in its current environment with coldfusion 7 single
I created a Word 2007 add-in project in C# that works fine on my
I have nant set up to build my ASP.NET MVC project and it works
When I set the backgroundColor for my UITableView it works fine on iPhone (device
I have added Private Frameworks To my project. When I build in DEVICE |

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.